Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to dynamically change a window class name? Pin
yjzh3-Jul-06 23:06
yjzh3-Jul-06 23:06 
GeneralRe: How to dynamically change a window class name? Pin
yjzh3-Jul-06 23:07
yjzh3-Jul-06 23:07 
QuestionRe: How to dynamically change a window class name? Pin
yjzh4-Jul-06 18:10
yjzh4-Jul-06 18:10 
AnswerRe: How to dynamically change a window class name? [modified] Pin
ovidiucucu4-Jul-06 21:08
ovidiucucu4-Jul-06 21:08 
QuestionRe: How to dynamically change a window class name? Pin
yjzh4-Jul-06 23:40
yjzh4-Jul-06 23:40 
AnswerRe: How to dynamically change a window class name? Pin
ovidiucucu5-Jul-06 2:42
ovidiucucu5-Jul-06 2:42 
QuestionRe: How to dynamically change a window class name? Pin
yjzh5-Jul-06 20:31
yjzh5-Jul-06 20:31 
Questionwhat is wrong Pin
Tara1429-Jun-06 4:56
Tara1429-Jun-06 4:56 
Hi,

I have a menu on a dialog box. There is an option called Grid, which which can be toggled. I want it to be checked/un-checked.

This is what I have done. It looks right to me. But it is not working.

void COption2::OnChartoptionsGrid() 
{
	// TODO: Add your command handler code here
//IsGrid is declared as BOOL and initialised as IsGrid=0; in the constructor
	IsGrid = 1- IsGrid;
}

void COption2::OnUpdateChartoptionsGrid(CCmdUI* pCmdUI) 
{
	// TODO: Add your command update UI handler code here
	pCmdUI->SetCheck(IsGrid);

}


Please help.


Fortitudine Vincimus!

AnswerRe: what is wrong Pin
cje29-Jun-06 5:04
cje29-Jun-06 5:04 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 5:07
Tara1429-Jun-06 5:07 
AnswerRe: what is wrong Pin
Viorel.29-Jun-06 5:23
Viorel.29-Jun-06 5:23 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 5:27
Tara1429-Jun-06 5:27 
AnswerRe: what is wrong Pin
Zac Howland29-Jun-06 6:48
Zac Howland29-Jun-06 6:48 
GeneralRe: what is wrong Pin
Viorel.29-Jun-06 5:38
Viorel.29-Jun-06 5:38 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 5:42
Tara1429-Jun-06 5:42 
GeneralRe: what is wrong Pin
cje29-Jun-06 5:51
cje29-Jun-06 5:51 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 6:03
Tara1429-Jun-06 6:03 
GeneralRe: what is wrong Pin
cje29-Jun-06 6:25
cje29-Jun-06 6:25 
GeneralRe: what is wrong Pin
cje29-Jun-06 6:27
cje29-Jun-06 6:27 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 7:19
Tara1429-Jun-06 7:19 
GeneralRe: what is wrong Pin
cje29-Jun-06 7:59
cje29-Jun-06 7:59 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 8:12
Tara1429-Jun-06 8:12 
GeneralRe: what is wrong Pin
Tara1429-Jun-06 5:45
Tara1429-Jun-06 5:45 
QuestionRe: what is wrong Pin
Tara1429-Jun-06 5:35
Tara1429-Jun-06 5:35 
QuestionRounding a floating value Pin
Taruni29-Jun-06 4:50
Taruni29-Jun-06 4:50 

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.