CPropertyPage::OnSetActive

This member function is called by the framework when the page is chosen by the user and becomes the active page.

virtual BOOL OnSetActive( );

Return Value

Nonzero if the page was successfully set active; otherwise 0.

Remarks

Override this member function to perform tasks when a page is activated. Your override of this member function would typically call the default version after updating data members, to allow it to update the page controls with the new data.

The default implementation creates the window for the page, if not previously created, and makes it the active page.

Example

See the example for CPropertySheet::SetFinishText.

Requirements

Header: afxdlgs.h

See Also

Reference

CPropertyPage Class

Hierarchy Chart

CPropertyPage::OnKillActive

Other Resources

CPropertyPage Members