Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SendMessage: How to pass WM_PAINT (hexa) ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01201190
Message ID:
01201547
Vues:
18
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
...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform