Coder's Guild Mailing List

Re: Win32 question (was: no subject)

Posted by Frank Hale on 1999-07-20

--- Joe Werner <jwerner@xxxxxxx.xxx> wrote:
> > Subject: How do you detect a "Mouse Leave" event
> in Win32?
> >
> > Java specifically triggers a "Mouse Leave" event
> whenever the mouse leaves a
> > component which is in the foreground.  Win32 has
> no specific way of detecting
> > this that i know of.  I'm trying to develop a
> simple flat button which pops up
> > when the mouse hovers over it.  How can I do this
> in Win32?
> 

Do you want just straight Win32 or an MFC solution?
There is a hover button located at 

http://codeguru.com/buttonctrl/hover_button.shtml

MFC has OnMouseEnter and OnMouseExit routines. I am
sure that they map to a Win32 event. 

I will look around abit longer and see if I can find a
win32 answer for you.

take care,
Frank
===
From: Frank Hale
ICQ: 7205161
Webpage: http://jade.netpedia.net/
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com