Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Over Form

Status
Not open for further replies.

FireFett

Programmer
Mar 31, 2000
42
US
Hello everyone I am hoping someone can answer this question for me.

I have a mdi app in VB.Net of course and I have one child window that when ever the mouse is over the form sets a Boolean flag and when the mouse is not over the window sets the flag to the opposite. I looked at the MouseHover event and in testing it never seems to get fired. As a side note there are no controls on this child form as it is a 3drender viewport.

Any thoughts on a way to detect if the mouse is over this child window and when it not?

Thanks
 
There is no Viewport control I pass the windows.Handle to the 3dEngines class. Using TrueVision3d.

However maybe binding it to a picture window on the form would do the trick will try that out.
 
Using the MouseHover and MouseLeave Event Looks like it will work if I use it on Picturebox. Then pass the Rendering Engine the Handle to the Picture box

Thank Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top