Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the following procedure to detect when the mouse pointer is over a ToolStripItem.
To detect when the pointer is over a ToolStripItem
Use the Selected property for items in which CanSelect is true.
This will prevent you from having to synchronize the MouseEnter and MouseLeave events.
See Also
Reference
ToolStrip Control Overview (Windows Forms)
ToolStripItem
Selected