Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dll not terminating correctly Pin
Blake Miller24-Mar-04 5:54
Blake Miller24-Mar-04 5:54 
GeneralLoad an image Pin
rrrado23-Mar-04 5:09
rrrado23-Mar-04 5:09 
GeneralRe: Load an image Pin
Jörgen Sigvardsson23-Mar-04 5:22
Jörgen Sigvardsson23-Mar-04 5:22 
GeneralRe: Load an image Pin
rrrado23-Mar-04 21:02
rrrado23-Mar-04 21:02 
GeneralRe: Load an image Pin
RadioShark23-Mar-04 6:21
RadioShark23-Mar-04 6:21 
GeneralRe: Load an image Pin
Jörgen Sigvardsson23-Mar-04 6:31
Jörgen Sigvardsson23-Mar-04 6:31 
QuestionMouse direction settings? Pin
DaFrawg23-Mar-04 4:35
DaFrawg23-Mar-04 4:35 
GeneralDisplaying CPropertySheet in a Dialog Pin
mmica23-Mar-04 4:09
mmica23-Mar-04 4:09 
Hi all,

I'm kinda new to MFC and come from the world of Java so please bear with me.

I have a dialog on which (amongst other things) I want to display a CPropertySheet (along with CPropertyPages ofcourse). Being the newbie that I am, I did the following:

In the OnInit() method of my dialog I put down the following code:

//m_ps is a member variable of type CPropertySheet<br />
<br />
m_ps.Construct("Test Property Sheet", this, 0);<br />
m_ps.SetWindowPos(this, 50,50,100,100, 0);<br />
m_ps.ShowWindow(SW_SHOW);


This doesn't work (and also causes an assert).

Can anyone help me out please?
GeneralRe: Displaying CPropertySheet in a Dialog Pin
David Crow23-Mar-04 4:16
David Crow23-Mar-04 4:16 
GeneralRe: Displaying CPropertySheet in a Dialog Pin
mmica23-Mar-04 4:29
mmica23-Mar-04 4:29 
GeneralRe: Displaying CPropertySheet in a Dialog Pin
David Crow23-Mar-04 4:36
David Crow23-Mar-04 4:36 
GeneralRe: Displaying CPropertySheet in a Dialog Pin
Ravi Bhavnani23-Mar-04 11:11
professionalRavi Bhavnani23-Mar-04 11:11 
QuestionWho want to be a millionaire? Pin
nicolas thompson23-Mar-04 4:02
sussnicolas thompson23-Mar-04 4:02 
AnswerRe: Who want to be a millionaire? Pin
Ravi Bhavnani23-Mar-04 11:27
professionalRavi Bhavnani23-Mar-04 11:27 
GeneralSimple C question Pin
kfaday23-Mar-04 3:48
kfaday23-Mar-04 3:48 
GeneralRe: Simple C question Pin
Prakash Nadar23-Mar-04 3:52
Prakash Nadar23-Mar-04 3:52 
Generalthanks!!! Pin
kfaday23-Mar-04 3:55
kfaday23-Mar-04 3:55 
GeneralRe: Simple C question Pin
David Crow23-Mar-04 3:53
David Crow23-Mar-04 3:53 
GeneralTHE WEAKEST LINK! Pin
nicolas thompson23-Mar-04 3:47
sussnicolas thompson23-Mar-04 3:47 
GeneralRe: THE WEAKEST LINK! Pin
Jörgen Sigvardsson23-Mar-04 5:25
Jörgen Sigvardsson23-Mar-04 5:25 
GeneralRe: THE WEAKEST LINK! Pin
Prakash Nadar23-Mar-04 5:33
Prakash Nadar23-Mar-04 5:33 
GeneralRe: THE WEAKEST LINK! Pin
PJ Arends23-Mar-04 6:26
professionalPJ Arends23-Mar-04 6:26 
GeneralAdd/Remove Programs Pin
Deian23-Mar-04 3:37
Deian23-Mar-04 3:37 
GeneralRe: Add/Remove Programs Pin
David Crow23-Mar-04 3:51
David Crow23-Mar-04 3:51 
GeneralRe: Add/Remove Programs Pin
Deian23-Mar-04 4:33
Deian23-Mar-04 4:33 

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.