Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SendMessage: How to pass WM_PAINT (hexa) ?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01201190
Message ID:
01201547
Views:
19
Here is a fragment of code
#DEFINE WM_COMMAND 0x0111

DECLARE INTEGER SendMessage IN user32;
	INTEGER hWindow, INTEGER Msg,;
	INTEGER wParam, INTEGER lParam
...

IF IsWindow(THIS.hWindow)<>0 AND IsMenu(THIS.hMenu)<>0
	= SendMessage(THIS.hWindow, WM_COMMAND, m.nCommand, 0)
	DOEVENTS
ENDIF
...
Previous
Reply
Map
View

Click here to load this message in the networking platform