Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cWndPropertySheet.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cWndPropertySheet_H
7 #define _INC_cWndPropertySheet_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 #include "cWindow.h"
12 
13 #ifdef _WIN32
14 #include <prsht.h>
15 // lib comctl32.lib
16 
17 namespace GrayLib
18 {
19  class cWndPropertyPage
20  {
21  HPROPSHEETPAGE m_pPage; // struct _PSP *
22  };
23 
24  class cWndPropertySheet
25  {
29 
30  public:
32  _GTN(PROPSHEETHEADER) m_psh;
33  public:
34  cWndPropertySheet();
35  ~cWndPropertySheet();
36 
37  void Construct(UINT nIDCaption, HWND hParentWnd = WINHANDLE_NULL,
38  UINT iSelectPage = 0);
39  INT_PTR DoModal()
40  {
43  return _GTN(::PropertySheet)(&m_psh);
44  }
45  };
46 };
47 #endif // _WIN32
48 #endif // _INC_cWndPropertySheet_H
#define _GTN(c)
_WIN32 name has a A or W for UTF8 or UNICODE (like _FNF)
Definition: StrConst.h:28
#define WINHANDLE_NULL
HWND, HPEN, etc are NOT OS Handles. like HWND_DESKTOP. like HANDLEPTR_NULL. This is a WINAPI void* ha...
Definition: cOSHandle.h:23
Definition: cMesh.h:22