Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Desktop Window Class name Pin
Emilio Garavaglia14-Jan-09 22:45
Emilio Garavaglia14-Jan-09 22:45 
GeneralRe: Desktop Window Class name Pin
Sauce!14-Jan-09 23:18
Sauce!14-Jan-09 23:18 
GeneralRe: Desktop Window Class name Pin
Emilio Garavaglia14-Jan-09 23:26
Emilio Garavaglia14-Jan-09 23:26 
QuestionShowing a CDialog from within a CButton class Pin
johanlich13-Jan-09 2:02
johanlich13-Jan-09 2:02 
AnswerRe: Showing a CDialog from within a CButton class Pin
Naveen13-Jan-09 2:28
Naveen13-Jan-09 2:28 
QuestionRe: Showing a CDialog from within a CButton class Pin
David Crow13-Jan-09 2:46
David Crow13-Jan-09 2:46 
AnswerRe: Showing a CDialog from within a CButton class Pin
johanlich13-Jan-09 3:09
johanlich13-Jan-09 3:09 
GeneralRe: Showing a CDialog from within a CButton class Pin
Iain Clarke, Warrior Programmer13-Jan-09 5:09
Iain Clarke, Warrior Programmer13-Jan-09 5:09 
In that case the button-thing is irrelevant. It's a problem with your dialog box.

Is the visible style set?

Can you put a breakpoint in the OnInitDialog and see it fire?

You can also set a no-fail-create flag, which is very useful. If there is a problem with a control on the dialog, the whole dialog creation would fail. (Mind you, DoModal should just return almost immediately...)

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

QuestionMouse Click Event Validation Issue Pin
TClarke13-Jan-09 0:31
TClarke13-Jan-09 0:31 
AnswerGot it Pin
TClarke13-Jan-09 1:54
TClarke13-Jan-09 1:54 
GeneralRe: Got it Pin
sashoalm13-Jan-09 3:25
sashoalm13-Jan-09 3:25 
GeneralRe: Got it Pin
TClarke13-Jan-09 3:39
TClarke13-Jan-09 3:39 
QuestionPlz Help to get solution Pin
vijith.squadz12-Jan-09 23:55
professionalvijith.squadz12-Jan-09 23:55 
AnswerRe: Plz Help to get solution Pin
CPallini13-Jan-09 0:16
mveCPallini13-Jan-09 0:16 
AnswerRe: Plz Help to get solution Pin
Rahul Vaishnav13-Jan-09 0:31
Rahul Vaishnav13-Jan-09 0:31 
GeneralRe: Plz Help to get solution Pin
vijith.squadz13-Jan-09 18:06
professionalvijith.squadz13-Jan-09 18:06 
QuestionPreview window closes when print button is clicked in print preview Pin
Member 447412812-Jan-09 23:30
Member 447412812-Jan-09 23:30 
AnswerRe: Preview window closes when print button is clicked in print preview Pin
Rajkumar R13-Jan-09 7:11
Rajkumar R13-Jan-09 7:11 
GeneralRe: Preview window closes when print button is clicked in print preview Pin
Member 447412828-Jan-09 3:31
Member 447412828-Jan-09 3:31 
GeneralRe: Preview window closes when print button is clicked in print preview Pin
Rajkumar R28-Jan-09 19:38
Rajkumar R28-Jan-09 19:38 
QuestionFont dialog Box problem Pin
trioum12-Jan-09 22:55
trioum12-Jan-09 22:55 
AnswerRe: Font dialog Box problem Pin
CPallini12-Jan-09 23:19
mveCPallini12-Jan-09 23:19 
QuestionUSB drive letter from WMI Pin
Subrat Patnaik12-Jan-09 22:21
Subrat Patnaik12-Jan-09 22:21 
AnswerRe: USB drive letter from WMI Pin
Leo Tiger2-Sep-09 9:12
Leo Tiger2-Sep-09 9:12 
Questionsaving 12 bits images Pin
alfalf312-Jan-09 22:04
alfalf312-Jan-09 22:04 

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.