Click here to Skip to main content
15,924,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
David Crow21-Apr-04 8:07
David Crow21-Apr-04 8:07 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 9:35
kimiko21-Apr-04 9:35 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
David Crow21-Apr-04 9:41
David Crow21-Apr-04 9:41 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 12:19
kimiko21-Apr-04 12:19 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar21-Apr-04 8:08
Prakash Nadar21-Apr-04 8:08 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 9:46
kimiko21-Apr-04 9:46 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar21-Apr-04 16:03
Prakash Nadar21-Apr-04 16:03 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko22-Apr-04 10:31
kimiko22-Apr-04 10:31 
In my program, the pushbutton I want to use to bring a modal dialog box is on the property page not on the property sheet, "this" will be a pointer to the propertypage not the property sheet. I know I can do this->GetParent() which will return a pointer to the propertysheet, but there is another problem. When I do the following:

MySubWindow.SetParent(this->GetParent());
MySubWindow.doModal();

I get an access violation writing location 0x00434cc4 at MySubWindow.SetParent().

What is the right way of specifying the parent window of MySubWindow class?
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar22-Apr-04 15:38
Prakash Nadar22-Apr-04 15:38 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko23-Apr-04 5:52
kimiko23-Apr-04 5:52 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar23-Apr-04 6:12
Prakash Nadar23-Apr-04 6:12 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko23-Apr-04 7:08
kimiko23-Apr-04 7:08 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar23-Apr-04 16:38
Prakash Nadar23-Apr-04 16:38 
QuestionHow to get Table Names in MS Access Pin
Chauhan Chirag21-Apr-04 7:26
Chauhan Chirag21-Apr-04 7:26 
AnswerRe: How to get Table Names in MS Access Pin
Wes Aday21-Apr-04 8:00
professionalWes Aday21-Apr-04 8:00 
GeneralMFC using Visual C++ Pin
Iceberg7621-Apr-04 7:19
Iceberg7621-Apr-04 7:19 
GeneralRe: MFC using Visual C++ Pin
David Crow21-Apr-04 7:39
David Crow21-Apr-04 7:39 
GeneralRe: MFC using Visual C++ Pin
Iceberg7621-Apr-04 12:04
Iceberg7621-Apr-04 12:04 
GeneralRe: MFC using Visual C++ Pin
David Crow22-Apr-04 2:14
David Crow22-Apr-04 2:14 
GeneralRe: MFC using Visual C++ Pin
Prakash Nadar21-Apr-04 8:17
Prakash Nadar21-Apr-04 8:17 
GeneralRe: MFC using Visual C++ Pin
Iceberg7621-Apr-04 12:05
Iceberg7621-Apr-04 12:05 
GeneralRe: MFC using Visual C++ Pin
toxcct21-Apr-04 12:12
toxcct21-Apr-04 12:12 
GeneralRe: MFC using Visual C++ Pin
Iceberg7621-Apr-04 12:41
Iceberg7621-Apr-04 12:41 
GeneralRe: MFC using Visual C++ Pin
Christian Graus21-Apr-04 12:56
protectorChristian Graus21-Apr-04 12:56 
GeneralLoading OEM Icon's into a Dialog Template Pin
armentage21-Apr-04 6:48
armentage21-Apr-04 6:48 

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.