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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Move event stops being fired

Status
Not open for further replies.

yeller2

Programmer
Feb 8, 2007
69
US
Howdy,

I create a label, add a context menu to it and then add it to a picturebox at runtime. When I right click and show the contextmenu, if I then click the picturebox - the movemouse eventhandler never gets executed for the label until I minimize and maximize the window.

I've already tried redrawing all of the controls to no avail.
 
NM I figured it out.

I had assigned a context menu to the label's contextmenustrip property and then dislayed it again. I deleted my property assignment and now it's working fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top