Cannot do owner draw on menus (Vb 2008)

  • Thread starter Thread starter sam
  • Start date Start date
S

sam

I try to use owner draw on menus (toolstripmenuItem). But there is no
MeasureItem and/or DrawItem events.
TIA
Sam
 
sam said:
I try to use owner draw on menus (toolstripmenuItem). But there is no
MeasureItem and/or DrawItem events.
TIA
Sam

Then I believe you will need to use the Menu and MainMenu classes to do the
custom drawing.

Mike
 
The ToolStripMenu and associated classes are significantly more advanced
than the old MenuItem classes, which effectively negates the need for owner
drawing. You can use the ToolStripControlHost control to add literally any
control you want onto your menu. This includes a grid (or other container)
made up of other controls.

HTH,
Alex
 
Back
Top