Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DestroyWindow
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00108249
Message ID:
00108283
Views:
43
>This is what I tried and it did not seem to work. Am I going about this correctly?
>
>#DEFINE WM_QUIT 18
>
>DECLARE INTEGER SendMessage IN Win32API ;
> INTEGER hWnd, ;
> INTEGER wMsg, ;
> INTEGER wParam, ;
> INTEGER lParam
>
>SendMessage(myHWnd,WM_QUIT,0,0)
This is a "duh..." on my part. Wrong window's message. Use WM_CLOSE (16).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform