Print CustomWindow? - Forum

Forum Navigation
PLEASE, take a moment and vote for VisualNEO Win and VisualNEO Web in
Your help is very much appreciated!
You need to log in to create posts and topics.

Print CustomWindow?

Hi guys, when I call up a Container as CustomWindow, how do I print only the CustomWindow and everything in it?

Thank You

Hello! You can do this.

Used plugin hpwUtility (Hans-Peter Wickern):

GetObjectHandle "Container1" "[HWND_Container1]"
hpwGetObjRect "[HWND_Container1]" "[Left]" "[Top]" "[Width]" "[Height]"
hpwScreenShot "[Left]" "[Top]" "[Width]" "[Height]" "[TempDir]file.jpg"
PrintImageFile "[TempDir]file.jpg" "-1"
FileErase "[TempDir]file.jpg"

Alternatively, you can use the command nscCaptureArea from the plugin NeoBookScreenCapture (NeoSoft Corp.).