Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ask for help: about singleton class Pin
Bob Stanneveld19-Nov-05 7:12
Bob Stanneveld19-Nov-05 7:12 
AnswerRe: Ask for help: about singleton class Pin
Bob Stanneveld19-Nov-05 7:09
Bob Stanneveld19-Nov-05 7:09 
GeneralRe: Ask for help: about singleton class Pin
chenxiujie19-Nov-05 14:44
chenxiujie19-Nov-05 14:44 
GeneralRe: Ask for help: about singleton class Pin
Bob Stanneveld20-Nov-05 19:11
Bob Stanneveld20-Nov-05 19:11 
Questionrun a console app from MFC or Windows Forms Pin
smargada18-Nov-05 14:46
smargada18-Nov-05 14:46 
AnswerRe: run a console app from MFC or Windows Forms Pin
Gary R. Wheeler20-Nov-05 6:58
Gary R. Wheeler20-Nov-05 6:58 
QuestionMenu Items won't come up gray Pin
BuckBrown18-Nov-05 7:42
BuckBrown18-Nov-05 7:42 
AnswerRe: Menu Items won't come up gray Pin
Maximilien18-Nov-05 7:54
Maximilien18-Nov-05 7:54 
If you have handlers ( OnCommand ) for your menu items, them will be enable, this is the default for MFC.

If you want to disable them, put back the handlers for the ON_UPDATE_COMMAND_UI and inside each one, set the value to pCmdUI to a valid value :


//( for example ) 
void CMainFrame::OnYourHandler( CCmdUI* pCmdUI ) 
{
 pCmdUI->Enable( someBooleanValue );
}




Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Menu Items won't come up gray Pin
BuckBrown18-Nov-05 10:24
BuckBrown18-Nov-05 10:24 
QuestionReceiving Msgs from Chat Client Pin
legendaryhwk18-Nov-05 5:40
legendaryhwk18-Nov-05 5:40 
Questionhow can we dial server database from client application Pin
sheerprogrammer18-Nov-05 5:19
sheerprogrammer18-Nov-05 5:19 
QuestionDouble winmains,..kind of... Pin
Karl Josefsson18-Nov-05 5:07
Karl Josefsson18-Nov-05 5:07 
QuestionHow can I set property in edit box to accept only Decimal number Pin
Loc Milkyway18-Nov-05 5:02
Loc Milkyway18-Nov-05 5:02 
AnswerRe: How can I set property in edit box to accept only Decimal number Pin
legendaryhwk18-Nov-05 6:18
legendaryhwk18-Nov-05 6:18 
GeneralRe: How can I set property in edit box to accept only Decimal number Pin
Loc Milkyway18-Nov-05 7:43
Loc Milkyway18-Nov-05 7:43 
AnswerRe: How can I set property in edit box to accept only Decimal number Pin
toxcct18-Nov-05 7:05
toxcct18-Nov-05 7:05 
GeneralRe: How can I set property in edit box to accept only Decimal number Pin
Loc Milkyway18-Nov-05 9:01
Loc Milkyway18-Nov-05 9:01 
GeneralRe: How can I set property in edit box to accept only Decimal number Pin
toxcct18-Nov-05 23:06
toxcct18-Nov-05 23:06 
AnswerRe: How can I set property in edit box to accept only Decimal number Pin
Rick York19-Nov-05 7:49
mveRick York19-Nov-05 7:49 
Question_AFX_MAIL_STATE with dynamicly linked MFC dll Pin
lynchspawn18-Nov-05 3:36
lynchspawn18-Nov-05 3:36 
QuestionMigrating to managed C++ Pin
Jim Crafton18-Nov-05 3:32
Jim Crafton18-Nov-05 3:32 
AnswerRe: Migrating to managed C++ Pin
Nish Nishant18-Nov-05 9:19
sitebuilderNish Nishant18-Nov-05 9:19 
GeneralRe: Migrating to managed C++ Pin
Jim Crafton18-Nov-05 9:26
Jim Crafton18-Nov-05 9:26 
AnswerRe: Migrating to managed C++ Pin
cmk18-Nov-05 13:00
cmk18-Nov-05 13:00 
GeneralRe: Migrating to managed C++ Pin
Jim Crafton19-Nov-05 5:22
Jim Crafton19-Nov-05 5:22 

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.