Board index » cppbuilder » OnMouseOut?

OnMouseOut?

Hello, All!

Is there a way to detect whether the mouse has left the window?

With best regards,

Micha Nelissen.

 

Re:OnMouseOut?


Quote
"Micha Nelissen" <no@email> wrote in message

news:3e91be19$1@newsgroups.borland.com...

Quote
> Is there a way to detect whether the mouse has left the window?

Yes, but you have to set it up manually.  Subclass the window first, and
then you can intercept the CM_MOUSELEAVE message.

Sublcass a windows control
http://www.bcbdev.com/faqs/faq76.htm

Gambit

Re:OnMouseOut?


Hi,

Quote
> > Is there a way to detect whether the mouse has left the window?

> Yes, but you have to set it up manually.  Subclass the window first, and
> then you can intercept the CM_MOUSELEAVE message.

Thanks very much!

However, it is 'foolable' if you move the mouse quickly away out of the
form. But, it is much better than mousemove.

Thanks,

Micha.

Other Threads