Property Sheet Messages

An application sends messages to direct a property sheet to add and remove pages, enable and disable buttons, set the return value of the PropertySheet function, and so on. The following are the property sheet messages and corresponding macros.

Message Corresponding Macro
PSM_ADDPAGE PropSheet_AddPage
PSM_APPLY PropSheet_Apply
PSM_CANCELTOCLOSE PropSheet_CancelToClose
PSM_CHANGED PropSheet_Changed
PSM_GETCURRENTPAGEHWND PropSheet_GetCurrentPageHwnd
PSM_GETTABCONTROL PropSheet_GetTabControl
PSM_ISDIALOGMESSAGE PropSheet_IsDialogMessage
PSM_PRESSBUTTON PropSheet_PressButton
PSM_QUERYSIBLINGS PropSheet_QuerySiblings
PSM_REBOOTSYSTEM PropSheet_RebootSystem
PSM_REMOVEPAGE PropSheet_RemovePage
PSM_RESTARTWINDOWS PropSheet_RestartWindows
PSM_SETCURSEL PropSheet_SetCurSel
PSM_SETCURSELID PropSheet_SetCurSelByID
PSM_SETFINISHTEXT PropSheet_SetFinishText
PSM_SETTITLE PropSheet_SetTitle
PSM_SETWIZBUTTONS PropSheet_SetWizButtons
PSM_UNCHANGED PropSheet_UnChanged