9#if !defined(OWL_PROPSHT_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
26#if !defined(PSH_MULTILINETABS)
27# define PSH_MULTILINETABS 0x0010
74 void SetIcon(
const TIcon&);
79 void SetFlags(
uint32 flags);
98 bool DestroyPropertyPage();
111 auto Create() ->
bool override;
174#if (defined(UNIX) && !defined(WINELIB))
190 bool IsModified()
const;
239 void SetupWindow()
override;
240 void CleanupWindow()
override;
244 auto Execute() ->
int override;
245 auto Create() ->
bool override;
256 int GetPageCount()
const;
265 void PressButton(
int button);
275 void RestartWindows();
283 void SetWizButtons(
uint32 flags);
284 void CancelToClose();
288 HWND GetTabControl()
const;
289 HWND GetCurrentPage()
const;
293 bool IsDialogMessage(
MSG &
msg);
325 auto PreProcessMsg(
MSG&) ->
bool override;
335 bool GetPageHandles();
369#define EV_PSN_APPLY(method) OWL_EV_NOTIFICATION(PSN_APPLY, ::owl::PropPageID, method)
374#define EV_PSN_GETOBJECT(method) OWL_EV_NOTIFICATION(PSN_GETOBJECT, ::owl::PropPageID, method)
379#define EV_PSN_HELP(method) OWL_EV_NOTIFICATION(PSN_HELP, ::owl::PropPageID, method)
384#define EV_PSN_KILLACTIVE(method) OWL_EV_NOTIFICATION(PSN_KILLACTIVE, ::owl::PropPageID, method)
389#define EV_PSN_QUERYCANCEL(method) OWL_EV_NOTIFICATION(PSN_QUERYCANCEL, ::owl::PropPageID, method)
394#define EV_PSN_RESET(method) OWL_EV_NOTIFICATION(PSN_RESET, ::owl::PropPageID, method)
399#define EV_PSN_SETACTIVE(method) OWL_EV_NOTIFICATION(PSN_SETACTIVE, ::owl::PropPageID, method)
404#define EV_PSN_WIZBACK(method) OWL_EV_NOTIFICATION(PSN_WIZBACK, ::owl::PropPageID, method)
409#define EV_PSN_WIZFINISH(method) OWL_EV_NOTIFICATION(PSN_WIZFINISH, ::owl::PropPageID, method)
414#define EV_PSN_WIZNEXT(method) OWL_EV_NOTIFICATION(PSN_WIZNEXT, ::owl::PropPageID, method)
#define PRECONDITION(condition)
Typically used to obtain information from a user, a dialog box is a window inside of which other cont...
TIcon, derived from TGdiObject, represents the GDI object icon class.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TNotify is a thin wrapper around the NMHDR structure.
The 'TPropertyPage' object represents a dialog box found within a property sheet.
HPROPSHEETPAGE HPropPage
Handle of this property page.
PROPSHEETPAGE & GetPropSheetPage()
Return structure which describes the characteristics/attributes of page.
TPropertySheet * GetSheet() const
Return pointer to parent/sheet object.
PROPSHEETPAGE PageInfo
Following structure holds information about this dialog when it is inserted into a PropertySheet.
void SetTitle(const tstring &s)
TPropertySheet encapsulates a window which contains one or more overlapping child windows knowns as p...
void SetTitle(const tstring &text, uint32 style=PSH_PROPTITLE)
bool SubClassSheet
Should we subclass the sheet (OS only)
bool WantTimer
Flags whether to start a timer.
UINT_PTR TimerID
Timer identifier.
void EnableSubclass(bool subclass)
PROPSHEETHEADER & GetPropSheetHeader()
Return structure which describes the characteristics/attributes of sheet.
PROPSHEETHEADER HeaderInfo
void SetCaption(const tstring &title)
void SetFinishText(const tstring &text)
TPshNotify(HWND hwnd, uint id, uint code, LPARAM lp)
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TWindow * GetParentO() const
Return the OWL's parent for this window.
HWND THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
Definition of classes for CommonControl encapsulation.
Definition of TDialog class and TDialogAttr struct.
#define DECLARE_RESPONSE_TABLE(cls)
bool(* TCondPageFunc)(TPropertyPage *pPage, void *param)
void(* TActionPageFunc)(TPropertyPage *pPage, void *param)
Object Windows Library (OWLNext Core)
UINT TMsgId
Message ID type.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
const int PropPageID
Property sheets notify property pages of events via the standard WM_NOTIFY message.
LRESULT TResult
Result type.
General definitions used by all ObjectWindows programs.
#define TYPESAFE_DOWNCAST(object, toClass)