How to: Detect When the Mouse Pointer Is Over a ToolStripItem
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
.NET Desktop feedback