The PROPSHEETPAGE structure defines a page in a property sheet.
typedef struct _PROPSHEETPAGE { // psp DWORD dwSize; DWORD dwFlags; HINSTANCE hInstance; union { LPCTSTR pszTemplate; LPCDLGTEMPLATE pResource; }; union { HICON hIcon; LPCTSTR pszIcon; }; LPCTSTR pszTitle; DLGPROC pfnDlgProc; LPARAM lParam; LPFNPSPCALLBACK pfnCallback; UINT FAR * pcRefParent; } PROPSHEETPAGE, FAR *LPPROPSHEETPAGE; typedef const PROPSHEETPAGE FAR *LPCPROPSHEETPAGE;
Value |
Meaning |
PSP_DEFAULT |
Uses the default meaning for all structure members. |
PSP_DLGINDIRECT |
Creates the page from the dialog box template in memory pointed to by the pResource member. The PropertySheet function assumes that the template is in writeable memory; a read-only template will cause an exception on some versions of Windows. If this flag is not set, the page loads the dialog box template from the resource identified by the pszTemplate member. |
PSP_HASHELP |
Enables the property sheet Help button when this page is active. |
PSP_USECALLBACK |
Calls the function specified by pfnCallback when creating or destroying the property sheet page defined by this structure. |
PSP_USEHICON |
Uses hIcon as the small icon on the tab for the page. |
PSP_USEICONID |
Uses pszIcon as the name of the icon resource to load and use as the small icon on the tab for the page. |
PSP_USEREFPARENT |
Maintains the reference count specified by pcRefParent for the lifetime of the property sheet page created from this structure. |
PSP_USETITLE |
Uses pszTitle as the title of the property sheet dialog box instead of the title stored in the dialog box template. |
PSP_RTLREADING |
When this page is active, displays the text of pszTitle using right-to-left reading order on Hebrew or Arabic systems. |
When the PropertySheet function creates the page, the dialog box procedure for the page receives a WM_INITDIALOG message. The lParam parameter of this message points to the PROPSHEETPAGE structure used to create the page.
EndDialog, PropSheetPageProc, PropertySheet, WM_INITDIALOG
file: /Techref/os/win/api/win32/struc/src/str14_14.htm, 7KB, , updated: 2007/11/15 11:34, local time: 2024/11/7 14:31,
3.133.121.241:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str14_14.htm"> PROPSHEETPAGE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.