Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I want opinions/views Pin
GBO18-Oct-00 2:26
GBO18-Oct-00 2:26 
GeneralRe: I want opinions/views Pin
#realJSOP18-Oct-00 4:32
professional#realJSOP18-Oct-00 4:32 
GeneralRe: I want opinions/views Pin
GBO18-Oct-00 5:05
GBO18-Oct-00 5:05 
GeneralRe: I want opinions/views Pin
Erik Funkenbusch17-Oct-00 9:54
Erik Funkenbusch17-Oct-00 9:54 
GeneralRe: I want opinions/views Pin
Andrei Zenkovitch18-Oct-00 6:27
Andrei Zenkovitch18-Oct-00 6:27 
GeneralMenu Pin
toby17-Oct-00 0:57
toby17-Oct-00 0:57 
GeneralRe: Menu Pin
frydaysoft17-Oct-00 1:24
sussfrydaysoft17-Oct-00 1:24 
GeneralRe: Menu Pin
Erik Funkenbusch17-Oct-00 9:59
Erik Funkenbusch17-Oct-00 9:59 
You don't mention whether you are using MFC or not. I will assume you are.

MFC will automatically gray any menu item for which you do not have a handler defined. If you do have a handler defined, but want to disable it, then you use the UPDATE_COMAND_UI mechanism. In the ClassWizard, create an UPDATE_COMMAND_UI handler for the command, then in the handler use the CCmdUI object passed to you to disable the item:

pCmdUI->Enable(FALSE);

GeneralRe: Menu Pin
Roger18-Oct-00 1:42
Roger18-Oct-00 1:42 
GeneralProblem with drag and drop Pin
Juan Diego Domínguez17-Oct-00 0:46
Juan Diego Domínguez17-Oct-00 0:46 
Questionhow to change the text color and background color of a combo box Pin
Mac17-Oct-00 0:30
Mac17-Oct-00 0:30 
AnswerRe: how to change the text color and background color of a combo box Pin
frydaysoft17-Oct-00 1:17
sussfrydaysoft17-Oct-00 1:17 
GeneralMFC -> COM, ActiveX Pin
RK16-Oct-00 12:34
RK16-Oct-00 12:34 
GeneralRe: MFC -> COM, ActiveX Pin
Bashir Irfan Malik16-Oct-00 22:27
Bashir Irfan Malik16-Oct-00 22:27 
GeneralRe: MFC -> COM, ActiveX Pin
RK17-Oct-00 9:31
RK17-Oct-00 9:31 
GeneralBitmap Display Problems Pin
Frederic Katz16-Oct-00 9:31
sussFrederic Katz16-Oct-00 9:31 
GeneralRe: Bitmap Display Problems Pin
Remus Lazar16-Oct-00 22:38
Remus Lazar16-Oct-00 22:38 
General#How to get the file path of my finished program in the code?# Pin
Fredrik16-Oct-00 0:10
Fredrik16-Oct-00 0:10 
GeneralRe: #How to get the file path of my finished program in the code?# Pin
#realJSOP16-Oct-00 0:55
professional#realJSOP16-Oct-00 0:55 
GeneralThanks, that worked like a charm! :) (NT) Pin
Fredrik16-Oct-00 21:38
Fredrik16-Oct-00 21:38 
Generalproblem about compatibility in WinCE Pin
zone15-Oct-00 23:51
zone15-Oct-00 23:51 
GeneralImplement drag source Pin
Eq15-Oct-00 21:55
Eq15-Oct-00 21:55 
GeneralMapping a range of messages Pin
ariel benary15-Oct-00 20:50
ariel benary15-Oct-00 20:50 
GeneralRe: Mapping a range of messages Pin
Martin Speiser26-Oct-00 4:55
Martin Speiser26-Oct-00 4:55 
Generalwindows programing Pin
koteswara15-Oct-00 19:53
koteswara15-Oct-00 19:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.