Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: On Edit box Pin
David Crow21-Nov-07 3:06
David Crow21-Nov-07 3:06 
QuestionHow to insert an icon in dialogue box Pin
Shaiju Ayyappan19-Nov-07 22:52
Shaiju Ayyappan19-Nov-07 22:52 
AnswerRe: How to insert an icon in dialogue box Pin
Haroon Sarwar19-Nov-07 22:59
Haroon Sarwar19-Nov-07 22:59 
AnswerRe: How to insert an icon in dialogue box Pin
Hamid_RT20-Nov-07 0:40
Hamid_RT20-Nov-07 0:40 
QuestionHow to insert a Control Panel Icon in Edit box Pin
Shaiju Ayyappan19-Nov-07 22:44
Shaiju Ayyappan19-Nov-07 22:44 
QuestionRe: How to insert a Control Panel Icon in Edit box Pin
David Crow20-Nov-07 2:50
David Crow20-Nov-07 2:50 
QuestionHow to Access PropertSheet in MainFrame class Pin
Atul2319-Nov-07 22:39
Atul2319-Nov-07 22:39 
AnswerRe: How to Access PropertSheet in MainFrame class Pin
Roger Broomfield19-Nov-07 23:02
Roger Broomfield19-Nov-07 23:02 
You could try this :-

void
CMainFrame::OnOpenWebSite()
{

COpenWebSiteShet openWebSiteDlg;
// COpenWebSiteShet derived from CProperSheet class.
if(ID_WIZFINISH == openWebSiteDlg.DoModal())
{

COpenWebSiteShet *pSheet = &openWebSiteDlg;

}


the GetParent() is going to try and return the CMainFrame's parent, which is in most cases as you noted NULL, and you already have the address of the PropertySheet because you created it on the stack.
AnswerRe: How to Access PropertSheet in MainFrame class Pin
David Crow20-Nov-07 2:53
David Crow20-Nov-07 2:53 
Questionhow to detect process termination Pin
harsha u19-Nov-07 22:09
harsha u19-Nov-07 22:09 
AnswerRe: how to detect process termination Pin
ThatsAlok20-Nov-07 19:57
ThatsAlok20-Nov-07 19:57 
GeneralRe: how to detect process termination Pin
harsha u20-Nov-07 21:55
harsha u20-Nov-07 21:55 
QuestionLoading *.mht files from a stream using CHTMLView Pin
sdancer7519-Nov-07 22:05
sdancer7519-Nov-07 22:05 
QuestionHow to avoid warning LNK4224: /COMMENT is no longer supported Pin
mohindar_kks19-Nov-07 22:02
mohindar_kks19-Nov-07 22:02 
AnswerRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
CPallini19-Nov-07 22:10
mveCPallini19-Nov-07 22:10 
AnswerRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Nelek19-Nov-07 22:24
protectorNelek19-Nov-07 22:24 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Cedric Moonen19-Nov-07 23:13
Cedric Moonen19-Nov-07 23:13 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Nelek19-Nov-07 23:49
protectorNelek19-Nov-07 23:49 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Cedric Moonen20-Nov-07 1:11
Cedric Moonen20-Nov-07 1:11 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Nelek20-Nov-07 2:24
protectorNelek20-Nov-07 2:24 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
DoomedOne20-Nov-07 7:21
DoomedOne20-Nov-07 7:21 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Nelek20-Nov-07 21:35
protectorNelek20-Nov-07 21:35 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
David Crow20-Nov-07 2:57
David Crow20-Nov-07 2:57 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
Nelek20-Nov-07 4:06
protectorNelek20-Nov-07 4:06 
GeneralRe: How to avoid warning LNK4224: /COMMENT is no longer supported Pin
bob1697220-Nov-07 1:58
bob1697220-Nov-07 1:58 

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.