|
|
Propsheet return value Definition at line 90 of file propsheet.h. |
|
|
Propsheet return value Definition at line 88 of file propsheet.h. |
|
|
Adds a page to the propsheet. Sends this message to add a page to the propsheet.
PSM_ADDPAGE DLGTEMPLATE *dlg_tmpl; WNDPROC proc; wParam = (WPARAM)dlg_tmpl; lParam = (LPARAM)proc;
Definition at line 289 of file propsheet.h. |
|
|
Gets the index of the current active page. Sends this message to retreive the index of the propsheet window's active page.
PSM_GETACTIVEINDEX wParam = 0; lParam = 0;
Definition at line 164 of file propsheet.h. |
|
|
Gets the handle of current active page. Sends this message to retreive the propsheet window's active page.
PSM_GETACTIVEPAGE wParam = 0; lParam = 0;
Definition at line 107 of file propsheet.h. |
|
|
Gets the handle of a page by index. Sends this message to retreive the handle to a page by index.
PSM_GETPAGE int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 147 of file propsheet.h. |
|
|
Gets the number of pages of the propsheet. Sends this message to retreive the number of pages currently in the propsheet.
PSM_GETPAGECOUNT wParam = 0; lParam = 0;
Definition at line 201 of file propsheet.h. |
|
|
Gets the index of a page by handle. Sends this message to retreive the index to a page by handle.
PSM_GETPAGEINDEX HWND hwnd; wParam = hwnd; lParam = 0;
Definition at line 184 of file propsheet.h. |
|
|
Gets a page title. Sends this message to retreive the title of a page.
PSM_GETTITLE int index; char *buffer; wParam = (WPARAM)index; lParam = (LPARAM)buffer;
Definition at line 243 of file propsheet.h. |
|
|
Gets the length of a page title. Sends this message to retreive the title length of a page.
PSM_GETTITLELENGTH int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 221 of file propsheet.h. |
|
|
Removes a page from the propsheet. Sends this message to remove a page from the propsheet and destroys the associated controls.
PSM_REMOVEPAGE int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 310 of file propsheet.h. |
|
|
Changes the active page by index. Sends this message to change the propsheet window's active page.
PSM_SETACTIVEINDEX int page; wParam = (WPARAM)page; lParam = 0;
Definition at line 127 of file propsheet.h. |
|
|
Sets a page title. Sends this message to specify the title of a page.
PSM_SETTITLE int index; char *buffer; wParam = (WPARAM)index; lParam = (LPARAM)buffer;
Definition at line 265 of file propsheet.h. |
|
|
Sends a MSG_SHEETCMD message to all pages in the propsheet. If you send MSG_SHEETCMD message to the propsheet control, the control will broadcast the message to all pages it contains. The page callback procedure will receive the message and handle it. If one page return non-zero value, the broadcast will be broken and the message will return a value indicating which page returned error. The value will be equal to the page index plus one. The PSM_SHEETCMD can be used by property sheet window, i.e., the container of the property pages. The sheet can create three buttons, like "Ok", "Cancel", and "Apply". When the user clicked the "Apply" or "Ok" button, it can send a PSM_SHEETCMD message to the propsheet control, the control will then send the message to all pages to notify pages to apply the changes made by the user. If there are some errors, the page can return a non-zero value to indicate an invalid chage so that the sheet can stop to close the sheet window. You can tell the pages which action should be taken by passing a value through the WPARAM parameter of the message.
PSM_SHEETCMD WPARAM wParam; LPARAM lParam; wParam = (WPARAM)wParam; lParam = (LPARAM)lParam;
Definition at line 348 of file propsheet.h. |
1.4.2