The PSM_REMOVEPAGE message removes a page from a property sheet. You can send this message explicitly or by using the PropSheet_RemovePage macro.
PSM_REMOVEPAGE
wParam = (WPARAM) (int) index;
lParam = (LPARAM) (HPROPSHEETPAGE) hpage);
Parameters
hpage and index
Handle to the page to remove, and the zero-based index of the page to remove. An application can specify the handle or the index, or both. If both are specified, hpage takes precedence.
Return Values
No return value.
See Also