ReactOS 0.4.15-dev-7924-g5949c20
Cell.h
Go to the documentation of this file.
1#pragma once
2class CCell
3{
4private:
7
11
12public:
13 CCell(
14 _In_ HWND hParent
15 );
16
17 CCell(
18 _In_ HWND hParent,
19 _In_ RECT& CellLocation
20 );
21
22 ~CCell();
23
25 void SetFocus(_In_ bool HasFocus) { m_bHasFocus = HasFocus; }
26 WCHAR GetChar() { return m_Char; }
27 void SetChar(_In_ WCHAR ch) { m_Char = ch; }
28
29 bool OnPaint(
30 _In_ PAINTSTRUCT &PaintStruct
31 );
32
34 _In_ RECT& Coordinates
35 );
36};
37
Definition: Cell.h:3
bool m_bIsLarge
Definition: Cell.h:9
bool OnPaint(_In_ PAINTSTRUCT &PaintStruct)
Definition: Cell.cpp:43
~CCell()
Definition: Cell.cpp:38
WCHAR m_Char
Definition: Cell.h:10
LPRECT GetCellCoordinates()
Definition: Cell.h:24
WCHAR GetChar()
Definition: Cell.h:26
HWND m_hParent
Definition: Cell.h:5
void SetCellCoordinates(_In_ RECT &Coordinates)
Definition: Cell.cpp:89
bool m_bHasFocus
Definition: Cell.h:8
void SetFocus(_In_ bool HasFocus)
Definition: Cell.h:25
void SetChar(_In_ WCHAR ch)
Definition: Cell.h:27
RECT m_CellCoordinates
Definition: Cell.h:6
#define _In_
Definition: ms_sal.h:308
__wchar_t WCHAR
Definition: xmlstorage.h:180