Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Print Screen FAQ now available
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00267522
Message ID:
00271471
Views:
33
>In lnretval=PrintWindow(...
>
> Using GetDesktopWindow()
> I got the same error
>
> Using the value of GetDesktopWindow()
> I see the print dialog box with the default printer
> ok. Bravo
>
> BUT If I click on the Ok button
> no printing and lnretval=0

Hmmm...try this, using the explicit DLL, see if it helps any:

declare integer GetDesktopWindow in user32.dll

That part works, correct? Then, also try

nWhand = GetDesktopWindow()
? nWhand

These shouldn't matter, but let's try anyway...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform