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

C / C++ / MFC

 
GeneralRe: Deleting modeless property sheet Pin
rwilmink25-Aug-05 3:27
rwilmink25-Aug-05 3:27 
GeneralRe: Deleting modeless property sheet Pin
David Crow25-Aug-05 3:44
David Crow25-Aug-05 3:44 
GeneralRe: Deleting modeless property sheet Pin
rwilmink25-Aug-05 4:17
rwilmink25-Aug-05 4:17 
GeneralRe: Deleting modeless property sheet Pin
David Crow25-Aug-05 5:21
David Crow25-Aug-05 5:21 
Questionsetcretiontime Pin
ditty grail25-Aug-05 0:59
ditty grail25-Aug-05 0:59 
AnswerRe: setcretiontime Pin
Dominik Reichl25-Aug-05 1:19
Dominik Reichl25-Aug-05 1:19 
AnswerRe: setcretiontime Pin
David Crow25-Aug-05 3:12
David Crow25-Aug-05 3:12 
QuestionHow to Check/ Uncheck menu item Pin
Hachaso25-Aug-05 0:39
Hachaso25-Aug-05 0:39 
Hi!

I'm trying to add a menu to my dialog based program.
In one of the submenus and submenuitem can be checked/unchecked.
I don't know what I'm doing wrong but I can't make it to do this.
No sign of it being checked appears.

Here's the part where I think should do this but I don't know what to add.

void CTestProgramForTestWATH2cppDlg::OnUpdateHelpCheckthis(CCmdUI *pCmdUI)
{
// TODO: Add your command update UI handler code here
CWnd* pBar;
if ((pBar = GetDlgItem(pCmdUI->m_nID)) == NULL)
{
pCmdUI->ContinueRouting();
return; // not for us
}
pCmdUI->m_pSubMenu->CheckMenuItem(ID_HELP_CHECKTHIS, MF_CHECKED);



}

BOOL CTestProgramForTestWATH2cppDlg::OnHelpCheckthis(UINT nID)
{
// TODO: Add your command handler code here


return TRUE;
}


Does the function CheckMenuItem do what I request??


AnswerRe: How to Check/ Uncheck menu item Pin
Rage25-Aug-05 1:16
professionalRage25-Aug-05 1:16 
AnswerRe: How to Check/ Uncheck menu item Pin
hatemtaleb25-Oct-05 0:30
hatemtaleb25-Oct-05 0:30 
QuestionAbout CMonthCalCtrl Pin
parims25-Aug-05 0:34
parims25-Aug-05 0:34 
AnswerRe: About CMonthCalCtrl Pin
ThatsAlok25-Aug-05 1:00
ThatsAlok25-Aug-05 1:00 
QuestionAbout CMonthCalCtrl to display selected Date Pin
parims25-Aug-05 0:30
parims25-Aug-05 0:30 
AnswerRe: About CMonthCalCtrl to display selected Date Pin
Nishad S25-Aug-05 1:31
Nishad S25-Aug-05 1:31 
AnswerRe: About CMonthCalCtrl to display selected Date Pin
David Crow25-Aug-05 3:15
David Crow25-Aug-05 3:15 
Questionlinkage problem Pin
AngelIdan25-Aug-05 0:20
sussAngelIdan25-Aug-05 0:20 
AnswerRe: linkage problem Pin
toxcct25-Aug-05 0:33
toxcct25-Aug-05 0:33 
GeneralRe: linkage problem Pin
sunit525-Aug-05 1:19
sunit525-Aug-05 1:19 
AnswerRe: linkage problem Pin
MailtoGops25-Aug-05 1:34
MailtoGops25-Aug-05 1:34 
QuestionCListView hidden column Pin
study.sourabh24-Aug-05 23:54
study.sourabh24-Aug-05 23:54 
AnswerRe: CListView hidden column Pin
Rage25-Aug-05 1:29
professionalRage25-Aug-05 1:29 
GeneralRe: CListView hidden column Pin
dabs25-Aug-05 2:11
dabs25-Aug-05 2:11 
QuestionRe: CListView hidden column Pin
David Crow25-Aug-05 3:20
David Crow25-Aug-05 3:20 
AnswerRe: CListView hidden column Pin
study.sourabh29-Aug-05 0:52
study.sourabh29-Aug-05 0:52 
AnswerRe: CListView hidden column Pin
Anonymous10-Oct-05 17:21
Anonymous10-Oct-05 17:21 

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.