Click to See Complete Forum and Search --> : VB Const For WM_NCMOUSELEAVE


paulc
March 21st, 2001, 09:00 AM
Hi,

Could someone please tell me the VB6 declaration for the WM_NCMOUSELEAVE message.

cheers

Paul

Clearcode
March 21st, 2001, 09:50 AM
I wasn't able to find the value, as it is a Windows 98 / 2000 only message.

(Let me know if you find it and I'll include it in my EventHandler definition.)

TIA,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com

paulc
March 21st, 2001, 10:05 AM
Gah,

Is there any way to emulate this then?? I have figured out how to get the statusbar to change message on WM_NCMOUSEMOVE, but as there is no WM_NCMOUSELEAVE then how do you make the status bar go back to normal??

Paul

Clearcode
March 21st, 2001, 10:16 AM
Since the menu control is bounded by the non client frame on one side and the client area on the next, it should be possible to reset the status bar message if you get a WM_MOUSEMOVE or a WM_NCMOUSEMOVE where wParam <> HTMENU.

hth,
Duncan



-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com