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:
00271415
Views:
27
>>(nRetval=21)
>>More progress...
>>And now ?
>
>Okay, good, that function is working as expected. Now try:
>
>declare integer GetDesktopWindow in win32api
>? GetDesktopWindow()
>
>I usually get 128 for this. If this works, try the entire thing again, or if you want try using the value you get for GetDesktopWindow() as the first paramter int the PrintWindow call. I'm still wondering if you have all the letter cases exactly right, they have to be perfect, or things won't work right...

More progress...
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

More help

Merci encore et bonne journée

Michel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform