Click here to Skip to main content
15,904,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Implementation of C preprocessor` Pin
VC++Maniac12-Dec-08 18:33
VC++Maniac12-Dec-08 18:33 
AnswerRe: Implementation of C preprocessor` Pin
Jijo.Raj12-Dec-08 21:58
Jijo.Raj12-Dec-08 21:58 
QuestionLNK Error when passing iterator Pin
pratap198012-Dec-08 11:56
pratap198012-Dec-08 11:56 
AnswerRe: LNK Error when passing iterator Pin
Stuart Dootson12-Dec-08 14:33
professionalStuart Dootson12-Dec-08 14:33 
AnswerRe: LNK Error when passing iterator Pin
Eytukan12-Dec-08 20:07
Eytukan12-Dec-08 20:07 
QuestionPropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 8:24
john john mackey12-Dec-08 8:24 
AnswerRe: PropertyPage - get parent CPropertySheet Pin
Stuart Dootson12-Dec-08 8:47
professionalStuart Dootson12-Dec-08 8:47 
AnswerRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 8:53
Jijo.Raj12-Dec-08 8:53 
Why can't you pass the CPropertySheet pointer to CSettingsPage2's constructor and keep it as a member variable? for instance,

CSettingsPage2::CSettingsPage2( CPropertySheet* pPropertySheet )
   : CPropertyPage(CSettingsPage2::IDD),
     m_pPropertySheet( pPropertySheet )
{
   // Your constructor.
}

While creating the property page,

// In my property sheet's source
m_pPage2 = new CSettingsPage2( this );
AddPage ( m_pPage2 );

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 9:12
john john mackey12-Dec-08 9:12 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 10:02
Jijo.Raj12-Dec-08 10:02 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 10:25
john john mackey12-Dec-08 10:25 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 11:07
Jijo.Raj12-Dec-08 11:07 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 11:17
john john mackey12-Dec-08 11:17 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 21:51
Jijo.Raj12-Dec-08 21:51 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey13-Dec-08 4:41
john john mackey13-Dec-08 4:41 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj13-Dec-08 7:36
Jijo.Raj13-Dec-08 7:36 
Questiondrawing circles Pin
staticv12-Dec-08 3:47
staticv12-Dec-08 3:47 
GeneralRe: drawing circles Pin
Luc Pattyn12-Dec-08 3:52
sitebuilderLuc Pattyn12-Dec-08 3:52 
GeneralRe: drawing circles [modified] Pin
staticv12-Dec-08 3:57
staticv12-Dec-08 3:57 
GeneralRe: drawing circles Pin
CPallini12-Dec-08 4:10
mveCPallini12-Dec-08 4:10 
GeneralRe: drawing circles Pin
Nishad S12-Dec-08 4:13
Nishad S12-Dec-08 4:13 
GeneralRe: drawing circles Pin
enhzflep12-Dec-08 14:31
enhzflep12-Dec-08 14:31 
AnswerRe: drawing circles Pin
CPallini12-Dec-08 4:09
mveCPallini12-Dec-08 4:09 
GeneralRe: drawing circles Pin
Eytukan12-Dec-08 7:14
Eytukan12-Dec-08 7:14 
Question.rc file in visual studio 2008 express edition Pin
Sadaiyappan12-Dec-08 3:26
Sadaiyappan12-Dec-08 3:26 

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.