Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetMessage API Hook in Form
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
GetMessage API Hook in Form
Miscellaneous
Thread ID:
00888527
Message ID:
00888527
Views:
63
I am trying to retrieve the wParam from the tagMSG structure of Windows API GetMessage to detect the SC_CLOSE value sent when the user selects "Close CtrL+F4" from the Windows system title bar menu. However, I can not detect any form event that fires when the user opens that menu, scrolls down to the close option, and presses the "Enter" key.

Does anyone know how to trap WM_SYSCOMMAND messages sent when users select options from the windows system menu on a form's title bar?

Thank you very much for your help!!
Brent Hackett
Deseret Trust Company
801.433.1513
hackettbl@deserettrust.com
Brent L. Hackett
Next
Reply
Map
View

Click here to load this message in the networking platform