Prev: ActiveX App-wizard generated control and memory leaks
Next: CListCtrl - dimensions of a checkbox
From: Jan M on 29 Jan 2010 05:16 Hi, How do I determine which property page is active in a property sheet (from HWND or CWnd*)? Also how do I select the page I have the HWND/CWnd* for. Thanks, Jan
From: Goran on 29 Jan 2010 06:27 On Jan 29, 11:16 am, "Jan M" <ja...(a)jerseymail.co.uk> wrote: > Hi, > > How do I determine which property page is active in a property sheet (from > HWND or CWnd*)? > > Also how do I select the page I have the HWND/CWnd* for. > > Thanks, > > Jan CPropertySheet::Get/SetActivePage. CWnd::FromHandle to get CWnd from HWND. STATIC_DOWNCAST or static_cast to get CPropertyPage from CWnd. Goran.
From: Jan M on 29 Jan 2010 08:40 Thanks Goran.
|
Pages: 1 Prev: ActiveX App-wizard generated control and memory leaks Next: CListCtrl - dimensions of a checkbox |