From: Jan M on
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
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
Thanks Goran.