On Dec 31, 2007, at 10:08 AM, Paul Dobbs wrote:
> I would like to hide the popup window when the mouse moves again.
> However, if I put "PopupWin.Hide" in the mouse move event for the
> window containing the sprite surface, it doesn't work, because the
> popup window has the focus.
So why not just call SetFocus on the main window? Assuming that
PopupWin is a floating window, this should work fine, I would think.
If that doesn't work, a crude but reliable work-around would be to
simply watch the global mouse position (System.MouseX and .MouseY) in
a Timer.
Best,
- Joe
--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|