Share via


Property Sheets Messages (Compact 2013)

3/28/2014

The following table shows the property sheets messages, with a description of the purpose of each.

Programming element

Description

PSM_ADDPAGE

This message adds a new page to the end of an existing property sheet.

PSM_APPLY

This message simulates the choice of the Apply Now button, indicating that one or more pages have changed and the changes need to be validated and recorded.

PSM_CANCELTOCLOSE

This message disables the Cancel button and changes the text of the OK button to Close.

PSM_CHANGED

This message informs a property sheet that information in a page has changed.

PSM_GETCURRENTPAGEHWND

This message retrieves a handle to the window of the current page of a property sheet.

PSM_GETTABCONTROL

This message retrieves the handle of the tab control of a property sheet.

PSM_ISDIALOGMESSAGE

This message passes a message to a property sheet dialog box and indicates whether the dialog processed the message.

PSM_PRESSBUTTON

This message simulates the choice of a property sheet button.

PSM_QUERYSIBLINGS

This message is sent to a property sheet, which then forwards the message to each of its pages.

PSM_REBOOTSYSTEM

This message indicates that system needs to be restarted for the changes to take effect.

PSM_REMOVEPAGE

This message removes a page from a property sheet.

PSM_RESTARTWINDOWS

This message indicates that Windows needs to be restarted for the changes to take effect.

PSM_SETCURSEL

This message activates the specified page in a property sheet.

PSM_SETCURSELID

This message activates the specified page in a property sheet based on the resource identifier of the page.

PSM_SETFINISHTEXT

This message sets the text of the Finish button in a wizard property sheet, shows and enables the button, and hides the Next and Back buttons.

PSM_SETTITLE

This message sets the title of a property sheet.

PSM_SETWIZBUTTONS

This message enables or disables the Back, Next, and Finish buttons in a wizard property sheet.

PSM_UNCHANGED

This message informs a property sheet that information in a page has reverted to the previously saved state.

See Also

Reference

Property Sheets Reference