ReactOS 0.4.15-dev-7998-gdb93cb1
CUIFSolidBrush Class Reference

#include <cicuif.h>

Public Member Functions

 operator HBRUSH () const
 
 CUIFSolidBrush (COLORREF rgbColor)
 
 ~CUIFSolidBrush ()
 

Public Attributes

HBRUSH m_hBrush
 

Detailed Description

Definition at line 309 of file cicuif.h.

Constructor & Destructor Documentation

◆ CUIFSolidBrush()

CUIFSolidBrush::CUIFSolidBrush ( COLORREF  rgbColor)
inline

Definition at line 316 of file cicuif.h.

317 {
318 m_hBrush = ::CreateSolidBrush(rgbColor);
319 }
HBRUSH m_hBrush
Definition: cicuif.h:312
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)

◆ ~CUIFSolidBrush()

CUIFSolidBrush::~CUIFSolidBrush ( )
inline

Definition at line 320 of file cicuif.h.

321 {
322 if (m_hBrush)
323 {
325 m_hBrush = NULL;
326 }
327 }
#define NULL
Definition: types.h:112
pKey DeleteObject()

Member Function Documentation

◆ operator HBRUSH()

CUIFSolidBrush::operator HBRUSH ( ) const
inline

Definition at line 314 of file cicuif.h.

314{ return m_hBrush; }

Member Data Documentation

◆ m_hBrush

HBRUSH CUIFSolidBrush::m_hBrush

Definition at line 312 of file cicuif.h.

Referenced by CUIFSolidBrush(), operator HBRUSH(), and ~CUIFSolidBrush().


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