A class which encapsulates an MFC CPropertyPage object. Derived from a PyCDialog object.
-
Changes the Cancel button to Close.
-
Calls the default MFC OnCancel handler.
-
Calls the default MFC OnOK handler.
-
Calls the default MFC OnApply handler.
-
Calls the default MFC OnReset handler.
-
Calls the default MFC OnQueryCancel handler.
-
Calls the default MFC OnWizardBack handler.
-
Calls the default MFC OnWizardNext handler.
-
Calls the default MFC OnWizardFinish handler.
-
Calls the default MFC OnSetActive handler.
-
Calls the default MFC OnKillActive handler.
-
Sets the modified flag (for the Apply button).
-
Sets (or clears) a bit in m_psp.dwFlags.
PyCPropertyPage.CancelToClose
CancelToClose() Changes the Cancel button to Close.
PyCPropertyPage.OnApply
OnApply() Calls the default MFC OnApply handler.
- PyCPropertyPage.OnApply virtual method
PyCPropertyPage.OnApply Virtual
OnApply() Called by the framework when the user chooses the OK or the Apply Now button.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnApply) yourself
Return Nonzero if the changes are accepted; otherwise 0.
PyCPropertyPage.OnCancel
OnCancel() Calls the default MFC OnCancel handler.
- PyCDialog.OnCancel virtual method
PyCPropertyPage.OnKillActive
int = OnKillActive() Calls the default MFC OnKillActive handler.
-
PyCPropertyPage.OnKillActive virtual method
-
PyCPropertyPage.OnKillActive virtual method
The result is true if the page should be deselected.
Typically this result should be passed to the original OnSetActive handler.
PyCPropertyPage.OnKillActive Virtual
OnKillActive() Called when the page loses focus.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnKillActive) yourself
The method should return TRUE if the page can be de-activated.
PyCPropertyPage.OnOK
OnOK() Calls the default MFC OnOK handler.
- PyCDialog.OnOK virtual method
PyCPropertyPage.OnQueryCancel
OnQueryCancel() Calls the default MFC OnQueryCancel handler.
- PyCPropertyPage.OnQueryCancel virtual method
PyCPropertyPage.OnQueryCancel Virtual
OnQueryCancel() Called by the framework when the user clicks the Cancel button and before the cancel action has taken place.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnQueryCancel) yourself
Return FALSE to prevent the cancel operation or TRUE to allow it.
PyCPropertyPage.OnReset
OnReset() Calls the default MFC OnReset handler.
- PyCPropertyPage.OnReset virtual method
PyCPropertyPage.OnReset Virtual
OnReset() Called by the framework when the user chooses the Cancel button.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnReset) yourself
PyCPropertyPage.OnSetActive
int = OnSetActive() Calls the default MFC OnSetActive handler.
-
PyCPropertyPage.OnSetActive virtual method
-
PyCPropertyPage.OnSetActive virtual method
The result is true if the page should be made active.
Typically this result should be passed to the original OnSetActive handler.
PyCPropertyPage.OnSetActive Virtual
OnSetActive() Called when the page becomes active.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnSetActive) yourself
The method should return TRUE if the page can be activated.
PyCPropertyPage.OnWizardBack
OnWizardBack() Calls the default MFC OnWizardBack handler.
- PyCPropertyPage.OnWizardBack virtual method
PyCPropertyPage.OnWizardBack Virtual
OnWizardBack() Called by the framework when the user clicks on the Back button in a wizard.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnWizardBack) yourself
Return 0 to automatically advance to the next page; -1 to prevent the page from changing. To jump to a page other than the next one, return the identifier of the dialog to be displayed.
PyCPropertyPage.OnWizardFinish
OnWizardFinish() Calls the default MFC OnWizardFinish handler.
- PyCPropertyPage.OnWizardFinish virtual method
PyCPropertyPage.OnWizardFinish Virtual
OnWizardFinish() Called by the framework when the user clicks on the Finish button in a wizard.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnWizardFinish) yourself
Return nonzero if the property sheet is destroyed when the wizard finishes; otherwise zero.
PyCPropertyPage.OnWizardNext
OnWizardNext() Calls the default MFC OnWizardNext handler.
- PyCPropertyPage.OnWizardNext virtual method
PyCPropertyPage.OnWizardNext Virtual
OnWizardNext() Called by the framework when the user clicks on the Next button in a wizard.
Note - If you provide a handler, you must call the underlying MFC method (PyCPropertyPage::OnWizardNext) yourself
Return 0 to automatically advance to the next page; -1 to prevent the page from changing. To jump to a page other than the next one, return the identifier of the dialog to be displayed.
PyCPropertyPage.SetModified
SetModified(bChanged) Sets the modified flag.
-
bChanged=1 : int
A flag to indicate the new modified state.
PyCPropertyPage.SetPSPBit
SetPSPBit(bitMask, bitValue) Sets or clears a bit in m_psp.dwFlags
-
bitMask : int
The PSP_* bit mask constant
-
bitValue : int
1 to set, 0 to clear