Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menubar 'ON BAR' triggered via keyboard or mouse click?
Message
De
05/04/2006 13:22:02
 
 
À
05/04/2006 11:24:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01110101
Message ID:
01110703
Vues:
19
>>I think you just need to bind only once (HWND = 0 / NULL). It will receive messages from all windows that created by VFP. I think it's better if you create a class for this. And create a "Form Name" property. Fill this property on the activation of the form, so the class will know which one is the active form. Otherwise you have to check which one is the active form from the "hWnd" parameters
>>
>>The only thing here is you don't get the message from windows which the classname was not created by VFP, such as menu/popup. So you can't bind to WM_LBUTTONUP. If you want you can create a low level hook (WH_MOUSE_LL) simply monitor WM_LBUTTONUP that will be send to your apps, all is done!
>
>Excellent ideas!
>
>Thank you very much!
>

You're welcome :)
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform