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

C / C++ / MFC

 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 3:30
mveRichard MacCutchan18-Nov-09 3:30 
GeneralRe: Multiple string table using Resource DLL Pin
ParagPatel18-Nov-09 16:26
ParagPatel18-Nov-09 16:26 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 22:48
mveRichard MacCutchan18-Nov-09 22:48 
QuestionNot sending mail to outlook 2002+ Pin
Game-point18-Nov-09 0:40
Game-point18-Nov-09 0:40 
GeneralRe: Not sending mail to outlook 2002+ Pin
Richard MacCutchan18-Nov-09 0:56
mveRichard MacCutchan18-Nov-09 0:56 
GeneralRe: Not sending mail to outlook 2002+ Pin
Game-point18-Nov-09 1:06
Game-point18-Nov-09 1:06 
GeneralRe: Not sending mail to outlook 2002+ Pin
Richard MacCutchan18-Nov-09 1:48
mveRichard MacCutchan18-Nov-09 1:48 
QuestionCan a CPropertyPage be also shown as a standalone dialog? [modified] Pin
sashoalm17-Nov-09 23:21
sashoalm17-Nov-09 23:21 
I have a dialog that has to be shown both as a part of a property sheet and as a standalone dialog (in which case it must have an OK/Cancel buttons which in the property sheet it shouldn't have). As I don't want to keep two resources and two classes for essentially the same dialog except for two buttons, I'm wondering if anyone here can recommend a solution.

I've seen that CPropertyPage is derived from CDialog, so I'm considering keeping a dialog resource with OK/Cancel buttons which I somehow hide before adding it to the property sheet, and when I want to use it as a standalone dialog I call its DoModal method, but will that work? Are there better solutions to this problem?

[Edit]
I've seen now that when I call CPropertyPage::DoModal the resulting dialog doesn't close when OK/Cancel or the close button is pressed.

There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

modified on Wednesday, November 18, 2009 5:35 AM

QuestionRe: Can a CPropertyPage be also shown as a standalone dialog? Pin
David Crow18-Nov-09 3:26
David Crow18-Nov-09 3:26 
AnswerRe: Can a CPropertyPage be also shown as a standalone dialog? Pin
sashoalm18-Nov-09 5:30
sashoalm18-Nov-09 5:30 
Questiondear brother, can you help me? Pin
nenfa17-Nov-09 21:28
nenfa17-Nov-09 21:28 
AnswerRe: dear brother, can you help me? Pin
Richard MacCutchan17-Nov-09 21:44
mveRichard MacCutchan17-Nov-09 21:44 
AnswerRe: dear brother, can you help me? Pin
Code-o-mat17-Nov-09 21:51
Code-o-mat17-Nov-09 21:51 
GeneralRe: dear brother, can you help me? Pin
nenfa17-Nov-09 23:54
nenfa17-Nov-09 23:54 
GeneralRe: dear brother, can you help me? Pin
Code-o-mat18-Nov-09 0:07
Code-o-mat18-Nov-09 0:07 
GeneralRe: dear brother, can you help me? Pin
nenfa18-Nov-09 3:26
nenfa18-Nov-09 3:26 
QuestionFont Pin
john563217-Nov-09 20:50
john563217-Nov-09 20:50 
AnswerRe: Font Pin
Nuri Ismail17-Nov-09 21:35
Nuri Ismail17-Nov-09 21:35 
GeneralRe: Font Pin
john563217-Nov-09 21:47
john563217-Nov-09 21:47 
GeneralRe: Font [modified] Pin
Nuri Ismail17-Nov-09 22:39
Nuri Ismail17-Nov-09 22:39 
AnswerRe: Font Pin
Code-o-mat17-Nov-09 21:38
Code-o-mat17-Nov-09 21:38 
AnswerRe: Font Pin
Randor 17-Nov-09 22:55
professional Randor 17-Nov-09 22:55 
QuestionVS6 to VS2008 Pin
john563217-Nov-09 20:31
john563217-Nov-09 20:31 
AnswerRe: VS6 to VS2008 Pin
Rajesh R Subramanian17-Nov-09 20:34
professionalRajesh R Subramanian17-Nov-09 20:34 
GeneralRe: VS6 to VS2008 Pin
john563217-Nov-09 20:37
john563217-Nov-09 20:37 

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.