Click here to Skip to main content
15,876,879 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Disable a Button ina SDI application Pin
Saurabh.Garg7-Nov-08 2:55
Saurabh.Garg7-Nov-08 2:55 
AnswerRe: Disable a Button ina SDI application Pin
Hamid_RT7-Nov-08 20:26
Hamid_RT7-Nov-08 20:26 
QuestionHow to get a string according to a "language identifier"? [modified] Pin
Joseph Marzbani7-Nov-08 1:08
Joseph Marzbani7-Nov-08 1:08 
AnswerRe: How to get a string according to a "language identifier"? Pin
CPallini7-Nov-08 1:54
mveCPallini7-Nov-08 1:54 
GeneralRe: How to get a string according to a "language identifier"? Pin
Joseph Marzbani7-Nov-08 4:19
Joseph Marzbani7-Nov-08 4:19 
Questionhow to show enable/disable check mark for menu items in a dialog based application? Pin
puppya7-Nov-08 0:51
puppya7-Nov-08 0:51 
AnswerRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Saurabh.Garg7-Nov-08 3:01
Saurabh.Garg7-Nov-08 3:01 
AnswerRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Mark Salsbery7-Nov-08 3:11
Mark Salsbery7-Nov-08 3:11 
Command enablers don't get called for dialogs by default.

You can enable them by adding a handler for the undocumented
WM_KICKIDLE message, something like this:
// add to dialog class' message map
ON_MESSAGE(WM_KICKIDLE,&CMyDlg::OnKickIdle)

...

LRESULT CMyDlg::OnKickIdle(WPARAM wp, LPARAM lp)
{
	UpdateDialogControls(this, TRUE);

	return 0;
}


WM_KICKIDLE for Updating MFC Dialog Controls[^]

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Nishad S7-Nov-08 3:21
Nishad S7-Nov-08 3:21 
GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Mark Salsbery7-Nov-08 3:29
Mark Salsbery7-Nov-08 3:29 
GeneralRe: how to show enable/disable check mark for menu items in a dialog based application? Pin
Nishad S7-Nov-08 3:35
Nishad S7-Nov-08 3:35 
QuestionHow can i pop up a new view in a SDI application Pin
m_mun7-Nov-08 0:20
m_mun7-Nov-08 0:20 
QuestionINTERNAL COMPILER ERROR Pin
Shino C G7-Nov-08 0:14
Shino C G7-Nov-08 0:14 
QuestionRe: INTERNAL COMPILER ERROR Pin
David Crow7-Nov-08 2:42
David Crow7-Nov-08 2:42 
AnswerRe: INTERNAL COMPILER ERROR Pin
Shino C G7-Nov-08 3:16
Shino C G7-Nov-08 3:16 
QuestionRe: INTERNAL COMPILER ERROR Pin
David Crow7-Nov-08 3:20
David Crow7-Nov-08 3:20 
AnswerRe: INTERNAL COMPILER ERROR Pin
Jijo.Raj7-Nov-08 6:18
Jijo.Raj7-Nov-08 6:18 
Questionconvert image bitmap 8bits ??? wish help me Pin
aa_zz6-Nov-08 23:06
aa_zz6-Nov-08 23:06 
AnswerRe: convert image bitmap 8bits ??? wish help me Pin
Saurabh.Garg7-Nov-08 3:03
Saurabh.Garg7-Nov-08 3:03 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
Nishad S7-Nov-08 3:19
Nishad S7-Nov-08 3:19 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
Saurabh.Garg7-Nov-08 4:26
Saurabh.Garg7-Nov-08 4:26 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
Nishad S7-Nov-08 23:06
Nishad S7-Nov-08 23:06 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
aa_zz9-Nov-08 15:37
aa_zz9-Nov-08 15:37 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
aa_zz9-Nov-08 19:48
aa_zz9-Nov-08 19:48 
GeneralRe: convert image bitmap 8bits ??? wish help me Pin
Nishad S9-Nov-08 20:35
Nishad S9-Nov-08 20:35 

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.