Search Results

Showing results 1 to 4 of 4
Search took 0.02 seconds.
Search: Posts Made By: koushal.vv
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,969
Posted By koushal.vv
Hope this works....


CMainFrame* pFrame ; // Memeber variable
pFrame = (CMainFrame*) AfxGetMainWnd();

pFrame->GetMenu()
->EnableMenuItem(ID_SORT_MANAGER,MF_GRAYED);
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,969
Posted By koushal.vv
use the same logic for disabling the MANAGER menu also, Here u r graying it i think this shud also work for MANAGER. i will also try to write a dummy pgm and test this.
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,969
Posted By koushal.vv
So what u r saying is
first the menu looked like this

SORT
|
MANAGER

Here Enabling and Disabling of manager Menu can be done,
now u have updated the manager menu like this :
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,969
Posted By koushal.vv
I have faced this problem before....
just go to the menu right click on it ,
say add event handler, Add the ONUpdate
event handler. U will have to enable
Every menu, Sub Menu OnUpdate event...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC