Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cWindow Class Reference

#include <cWindow.h>

Inheritance diagram for GrayLib::cWindow:
GrayLib::cWndHandle Gray::CObject

Public Member Functions

 cWindow (HWND hWnd=WINHANDLE_NULL) noexcept
 
- Public Member Functions inherited from GrayLib::cWndHandle
 cWndHandle (HWND hWnd=WINHANDLE_NULL) noexcept
 
 cWndHandle (cWndHandle *pWnd) noexcept
 
virtual ~cWndHandle ()
 
bool isValidHwnd () const noexcept
 
virtual bool isValidCheck () const noexcept
 < memory allocation and structure definitions are valid. More...
 
 operator HWND () const noexcept
 
HWND get_Hwnd () const noexcept
 
HWND GetSafeHwnd () const noexcept
 
bool AttachHwnd (HWND hWnd)
 
void DetachHwnd ()
 
- Public Member Functions inherited from Gray::CObject
virtual ~CObject ()
 
virtual void AssertValid () const
 < memory allocation and structure definitions are valid. More...
 
virtual void Serialize (cArchive &a)
 

Static Public Attributes

static const GChar_t *const k_pszClassNameDefault
 

Additional Inherited Members

- Protected Attributes inherited from GrayLib::cWndHandle
HWND m_hWnd
 Handle to window (i may or may not have to destroy this) More...
 

Detailed Description

a HWND/Window that I (CWinApp,theApp/current process) own/created. DestroyWindow on object destructor. Similar to Gtk::Window() or MFC/ATL cWindow

Constructor & Destructor Documentation

◆ cWindow()

GrayLib::cWindow::cWindow ( HWND  hWnd = WINHANDLE_NULL)
inlinenoexcept

Member Data Documentation

◆ k_pszClassNameDefault

const GChar_t* const GrayLib::cWindow::k_pszClassNameDefault
static

The documentation for this class was generated from the following file: