The PROPSHEETHEADER structure defines the frame and pages of a property sheet.
typedef struct _PROPSHEETHEADER { // psh DWORD dwSize; DWORD dwFlags; HWND hwndParent; HINSTANCE hInstance; union { HICON hIcon; LPCTSTR pszIcon; }; LPCTSTR pszCaption; UINT nPages union { UINT nStartPage LPCTSTR pStartPage; }; union { LPCPROPSHEETPAGE ppsp; HPROPSHEETPAGE FAR *phpage; }; PFNPROPSHEETCALLBACK pfnCallback; } PROPSHEETHEADER, FAR *LPPROPSHEETHEADER; typedef const PROPSHEETHEADER FAR *LPCPROPSHEETHEADER;
Value |
Meaning |
PSH_DEFAULT |
Uses the default meaning for all structure members. |
PSH_HASHELP |
Displays the property sheet Help button. The Help button is enabled only when the PSP_HASHELP flag is set in the PROPSHEETPAGE structure for the active page. If any of the initial property sheet pages sets the PSP_HASHELP flag, the Help button is automatically displayed regardless of the PSH_HASHELP flag. However, PSH_HASHELP is useful when none of the initial pages set PSP_HASHELP, but pages added later might. |
PSH_MODELESS |
Causes the PropertySheet function to create the property sheet as a modeless dialog instead of the default modal behavior. When this flag is set, PropertySheet returns immediately after the dialog is created and the return value from PropertySheet is the window handle of the property sheet dialog. |
PSH_NOAPPLYNOW |
Removes the Apply Now button. |
PSH_PROPSHEETPAGE |
Uses ppsp and ignores phpage when creating the pages for the property sheet. |
PSH_PROPTITLE |
Includes “Properties for” with the string specified by pszCaption in the title bar of the property sheet. |
PSH_USECALLBACK |
Calls the function specified by pfnCallback when initializing the property sheet defined by this structure. |
PSH_USEHICON |
Uses hIcon as the small icon in the title bar of the property sheet dialog box. |
PSH_USEICONID |
Uses pszIcon as the name of the icon resource to load and use as the small icon in the title bar of the property sheet dialog box. |
PSH_USEPSTARTPAGE |
Uses pStartPage and ignores nStartPage when displaying the initial page of the property sheet. |
PSH_WIZARD |
Creates a wizard property sheet. |
PSH_RTLREADING |
Displays the title of the property sheet dialog using right-to-left reading order on Hebrew or Arabic systems. |
CreatePropertySheetPage, PropertySheet, PROPSHEETPAGE, PropSheetProc
file: /Techref/os/win/api/win32/struc/src/str14_13.htm, 8KB, , updated: 2000/4/7 11:20, local time: 2024/11/28 01:44,
18.191.212.146:LOG IN
|
©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://massmind.org/techref/os/win/api/win32/struc/src/str14_13.htm"> PROPSHEETHEADER</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.