Context Menu

  • Thread starter Thread starter Jonathan Dixon
  • Start date Start date
J

Jonathan Dixon

Can someone tell me how to make an entry in a context menu Bold.

E.g

On msn Messenger when clicking on the tray icon

Open Msn Messenger is displayed in BOLD

Regards

Jonathan Dixon
 
I am not sure i can do that as i am creating the context menu at runtime

m_menu = new ContextMenu();

m_menu.MenuItems.Add(0,

new MenuItem("Show",new System.EventHandler(Show_Click)));

m_menu.MenuItems.Add(1,

new MenuItem("Hide",new System.EventHandler(Hide_Click)));

m_menu.MenuItems.Add(2,

new MenuItem("&Exit",new System.EventHandler(Exit_Click)));



Regards



Jonathan Dixon
 
* "Jonathan Dixon said:
I am not sure i can do that as i am creating the context menu at runtime

m_menu = new ContextMenu();

m_menu.MenuItems.Add(0,

new MenuItem("Show",new System.EventHandler(Show_Click)));

m_menu.MenuItems.Add(1,

new MenuItem("Hide",new System.EventHandler(Hide_Click)));

m_menu.MenuItems.Add(2,

new MenuItem("&Exit",new System.EventHandler(Exit_Click)));

\\\
Dim mi As New MenuItem
mi.Text = "kkk"
mi.DefaultItem = True
AddHandler ...
m_Menu.MenuItems.Add(mi)
///
 
Back
Top