Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menubar 'ON BAR' triggered via keyboard or mouse click?
Message
From
05/04/2006 11:24:46
 
 
To
05/04/2006 01:13:17
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01110101
Message ID:
01110628
Views:
16
Herman,

>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!

Regards,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform