Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining Main Window Handle for DDE
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00053612
Message ID:
00053643
Views:
26
>>I am trying to integrate our application with another application using DDE. It says I need to provide the main window handle for my application in decimal. I know the main window name, but I do not know how to obtain the handle. I suspect I can use the Win32 API somehow to find this information, but have been unsuccessful. Any suggestions or guidance is greatly appreciated. Thank you.
>>
>>Marcus.
>
>Marcus,
>
>FOXTOOLS.FLL can provide this information. All have to do is:
>
>SET LIBRARY TO FOXTOOLS.FLL
>lnHWnd = MainHWnd()
>
>and you've got it.
>
>HTH,
>
>George

Thanks a million. I'll give it a try!
Marcus.
Previous
Reply
Map
View

Click here to load this message in the networking platform