Re: VB.net, MenuItem, Select Event

Hello every one,

I am creating a owner drawn menu and I have a question about the MenuItem_Select event

Even though the menu iten is owner drawn this event is still fired.
I draw the select rectangle myself and I would like to know if their is a way to
disable this event or flag it as being unneeded.

Something like.
Private Sub MyMenuItem_Select(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyMenuItem.Select
e.Handled or e.DontDrawThisUglyRectangle
End Sub

Thanks in advance
WR

Sorry everyone but the problem was my error.
I found an e.drawbackground command that souldn't be there.
Removed it and it works OK.

William Ray