CPSFUNC_SET_PSUIPAGE_TITLE function
The CPSFUNC_SET_PSUIPAGE_TITLE function code causes the ComPropSheet function to set the tab title for a property sheet page.
Syntax
LONG_PTR ComPropSheet(
HANDLE hComPropSheet,
UINT Function,
LPARAM lParam1,
LPARAM lParam2
);
Parameters
hComPropSheet
Group parent handle.Function
Caller sets this function code parameter to CPSFUNC_SET_PSUIPAGE_TITLE when it calls ComPropSheet to set the tab title for a property sheet page.lParam1
Caller-supplied CPSUI page handle, previously obtained by a call to ComPropSheet with one of the following function codes:CPSFUNC_INSERT_PSUIPAGE (with the Type member of the INSERTPSUIPAGE_INFO structure set to PSUIPAGEINSERT_HPROPSHEETPAGE or PSUIPAGEINSERT_PROPSHEETPAGE).
lParam2
Caller-supplied pointer to a NULL-terminated string that specifies the new title.
Return value
If the operation is successful, the ComPropSheet function returns 1. If an error is encountered, or if the specified page is not currently being displayed, the function returns zero.
Requirements
Target platform |
Desktop |
Header |
Compstui.h (include Compstui.h) |