How to trace WM_MOUSELEAVE?
Publicado: Mar Sep 12, 2006 9:00 am
Hello!
Is there any way in Xailer to trace non-predefined events?
I want that my panel would trace WM_MOUSELEAVE in such code:
....
static bPanelInside:=.f.
METHOD Panel1MouseMove( oSender, nKeyFlags, nPosX, nPosY ) CLASS TForm1
if !bPanelInside
bPanelInside:=.t.
::Panel1Enter()
TrackMouseEvent(oSender:Handle, TME_LEAVE, HOVER_DEFAULT)
endif
RETURN Nil
....
I need the place where I can catch WM_MOUSELEAVE event, for example
METHOD Panel1MouseLeave( oSender) CLASS TForm1
MsgInfo('Leave')
bPanelInside:=.f.
RETURN Nil
How can I do it?
Thank you.
Oleg.
Is there any way in Xailer to trace non-predefined events?
I want that my panel would trace WM_MOUSELEAVE in such code:
....
static bPanelInside:=.f.
METHOD Panel1MouseMove( oSender, nKeyFlags, nPosX, nPosY ) CLASS TForm1
if !bPanelInside
bPanelInside:=.t.
::Panel1Enter()
TrackMouseEvent(oSender:Handle, TME_LEAVE, HOVER_DEFAULT)
endif
RETURN Nil
....
I need the place where I can catch WM_MOUSELEAVE event, for example
METHOD Panel1MouseLeave( oSender) CLASS TForm1
MsgInfo('Leave')
bPanelInside:=.f.
RETURN Nil
How can I do it?
Thank you.
Oleg.