Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy API Question?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00258567
Message ID:
00259176
Views:
22
>>>Just tried this and working :
>>>
>>>
declare integer GetDesktopWindow in user32.dll
>>>hWnd = GetDesktopWindow()
>>>? hWnd
Cetin
>>
>>Just got it, too. Many thanks, Cetin, I still had the cap 'T' declaration stuck in memory :)
>
>Hi Bruce,
>
>How'd I miss this one< g >? Seriously, you don't need user32. It's among the dlls search by indicating Win32api in the declaration.

Hi George - Of course you're right. I thought there was a problem with win32api declaration, but of course it was due to my dumb 'case' mistake. I'll change the code appropriately :)
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