Click here to Skip to main content
15,908,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to run another .exe during compile time. Pin
Cedric Moonen23-Apr-07 1:55
Cedric Moonen23-Apr-07 1:55 
Question[Message Deleted] Pin
Y K Kishore Kumar23-Apr-07 1:32
Y K Kishore Kumar23-Apr-07 1:32 
AnswerRe: Run MFC programs in Vista Pin
Wes Aday23-Apr-07 4:50
professionalWes Aday23-Apr-07 4:50 
QuestionRe: Run MFC programs in Vista Pin
David Crow23-Apr-07 5:09
David Crow23-Apr-07 5:09 
AnswerRe: Run MFC programs in Vista Pin
Mark Salsbery23-Apr-07 6:08
Mark Salsbery23-Apr-07 6:08 
QuestionRe: [Message Deleted] Pin
Hamid_RT25-Apr-07 6:53
Hamid_RT25-Apr-07 6:53 
QuestionStatusbar - black font Pin
baerten23-Apr-07 1:24
baerten23-Apr-07 1:24 
GeneralRe: Statusbar - black font Pin
Rick_Bartlett27-Oct-09 7:57
Rick_Bartlett27-Oct-09 7:57 
This is a very brief post to point you in the right direction...

You would do it by creating an onUiUpdate message for that pain ID. Then create an OnUiUpdate message handler and simply set the text and then enable it like this:

void CMainFrame::OnUpdateCurPosIndicator(CCmdUI *pCmdUI)
{
pCmdUI->SetText("MyText"); // Just a simple text string...
pCmdUI->Enable(1); // this is what will remove the "grayed" text
}
QuestionMFC serialization Pin
Keshav V. Kamat23-Apr-07 1:23
Keshav V. Kamat23-Apr-07 1:23 
AnswerRe: MFC serialization Pin
cp987623-Apr-07 1:27
cp987623-Apr-07 1:27 
GeneralRe: MFC serialization Pin
Keshav V. Kamat23-Apr-07 2:10
Keshav V. Kamat23-Apr-07 2:10 
GeneralRe: MFC serialization Pin
cp987623-Apr-07 2:49
cp987623-Apr-07 2:49 
QuestionRe: MFC serialization Pin
David Crow23-Apr-07 5:10
David Crow23-Apr-07 5:10 
AnswerRe: MFC serialization Pin
Mark Salsbery23-Apr-07 6:12
Mark Salsbery23-Apr-07 6:12 
Questionabout new operator in Visual C++ Pin
mt_samiei23-Apr-07 0:55
mt_samiei23-Apr-07 0:55 
AnswerRe: about new operator in Visual C++ Pin
CPallini23-Apr-07 1:20
mveCPallini23-Apr-07 1:20 
AnswerRe: about new operator in Visual C++ Pin
Cedric Moonen23-Apr-07 1:26
Cedric Moonen23-Apr-07 1:26 
AnswerRe: about new operator in Visual C++ Pin
CPallini23-Apr-07 1:34
mveCPallini23-Apr-07 1:34 
AnswerRe: about new operator in Visual C++ Pin
toxcct23-Apr-07 4:50
toxcct23-Apr-07 4:50 
AnswerRe: about new operator in Visual C++ Pin
Nemanja Trifunovic23-Apr-07 6:03
Nemanja Trifunovic23-Apr-07 6:03 
Questionvisual C++ currencies convertor Pin
cmvr23-Apr-07 0:47
cmvr23-Apr-07 0:47 
AnswerRe: visual C++ currencies convertor Pin
CPallini23-Apr-07 2:03
mveCPallini23-Apr-07 2:03 
QuestionCompiler Error C2628 Pin
Programm3r23-Apr-07 0:43
Programm3r23-Apr-07 0:43 
AnswerRe: Compiler Error C2628 Pin
prasad_som23-Apr-07 1:15
prasad_som23-Apr-07 1:15 
QuestionRe: Compiler Error C2628 Pin
Programm3r23-Apr-07 1:40
Programm3r23-Apr-07 1:40 

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.