Hi Carl:
> I'm using VB.NET 2005 and we need menu items that have both the
> Checked property set to True and an Image as well. Something like
[quoted text clipped - 9 lines]
> combined the check mark and our image but the display is way too
> small. Any other ideas?
If mnuFiles is ToolStripMenuItem, You may use ShowCheckMargin and ShowImageMargin properties like here:
'**************************************************************************************
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim mnuFiles As New ToolStripMenuItem("Files...")
Dim oMenuItem As ToolStripMenuItem
oMenuItem = mnuFiles.DropDownItems.Add("BeepFile", New Bitmap("c:\tmp\x.bmp"), AddressOf File_Click)
oMenuItem.Checked = True
CType(oMenuItem.Owner, ToolStripDropDownMenu).ShowCheckMargin = True
CType(oMenuItem.Owner, ToolStripDropDownMenu).ShowImageMargin = True
Me.ContextMenuStrip = New ContextMenuStrip
Me.ContextMenuStrip.Items.Add(mnuFiles)
End Sub
Private Sub File_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Beep()
End Sub
'**************************************************************************************
If not, try search VS2005's help for "How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls"
--
Marcin