View Single Post
Join Date: Mar 2006
Posts: 14
Reputation: vickzbrit is an unknown quantity at this point 
Solved Threads: 0
vickzbrit vickzbrit is offline Offline
Newbie Poster

Disable/Enable Menu Items and Sub Items

 
0
  #1
Nov 21st, 2008
How do I disable and Enable Menu Items and Sub Items.
  1. if(Selected == "drum" || Selected == "guitar" || Selected == "mic" || Selected == "computer" || Selected == "car" || Selected == "hockey" || Selected == "laptop" || Selected == "watch" )
  2. {
  3. pCmdUI->Enable(Sort == 1);
  4. }

The above code used to work before having sub menu items to that menu item. After adding sub menu items, the previous code works for sub menu items but it would not work for menu item. Can anyone please help me out with this as where am i going wrong? Thank you

Vicky
Last edited by vickzbrit; Nov 21st, 2008 at 6:02 pm.
Reply With Quote