>>(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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only