Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get handle of window to print
Message
From
17/05/1999 15:08:36
 
 
To
17/05/1999 14:27:04
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00219714
Message ID:
00219742
Views:
17
Also, I believe George Tasker has a class in the Files section ( File drawer icon in left panel ) for doing this, plus finding windows from a partial title.

Bill

>Hi all,
>
>Steven Ruhl's API print window utility works great. So far I've only been able to print the active form, using getfocus()from the sample code. I would prefer to be able to print any open window on the desktop. Seems that I need to pass the handle for the window I want to print. What's a good way to get that handle? _FindWindow?
>I have a form to collect & pass params to the API functions, but can't figure out a way to acquire all window handles. I'm barely API literate, so an example would be great. I'll pass along the form when it's finished to anyone interested.
>Thanks!
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform