ReactOS
0.4.16-dev-136-g52192f1
Cell.h
Go to the documentation of this file.
1
#pragma once
2
class
CCell
3
{
4
private
:
5
HWND
m_hParent
;
6
RECT
m_CellCoordinates
;
7
8
bool
m_bHasFocus
;
9
bool
m_bIsLarge
;
10
WCHAR
m_Char
;
11
12
public
:
13
CCell
(
14
_In_
HWND
hParent
15
);
16
17
CCell
(
18
_In_
HWND
hParent,
19
_In_
RECT
& CellLocation
20
);
21
22
~CCell
();
23
24
LPRECT
GetCellCoordinates
() {
return
&
m_CellCoordinates
; }
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
33
void
SetCellCoordinates
(
34
_In_
RECT
& Coordinates
35
);
36
};
37
CCell
Definition:
Cell.h:3
CCell::m_bIsLarge
bool m_bIsLarge
Definition:
Cell.h:9
CCell::OnPaint
bool OnPaint(_In_ PAINTSTRUCT &PaintStruct)
Definition:
Cell.cpp:43
CCell::~CCell
~CCell()
Definition:
Cell.cpp:38
CCell::m_Char
WCHAR m_Char
Definition:
Cell.h:10
CCell::GetCellCoordinates
LPRECT GetCellCoordinates()
Definition:
Cell.h:24
CCell::GetChar
WCHAR GetChar()
Definition:
Cell.h:26
CCell::m_hParent
HWND m_hParent
Definition:
Cell.h:5
CCell::SetCellCoordinates
void SetCellCoordinates(_In_ RECT &Coordinates)
Definition:
Cell.cpp:89
CCell::m_bHasFocus
bool m_bHasFocus
Definition:
Cell.h:8
CCell::SetFocus
void SetFocus(_In_ bool HasFocus)
Definition:
Cell.h:25
CCell::SetChar
void SetChar(_In_ WCHAR ch)
Definition:
Cell.h:27
CCell::m_CellCoordinates
RECT m_CellCoordinates
Definition:
Cell.h:6
void
Definition:
nsiface.idl:2307
_In_
#define _In_
Definition:
ms_sal.h:308
tagPAINTSTRUCT
Definition:
winuser.h:3107
tagRECT
Definition:
windef.h:305
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
base
applications
charmap_new
Cell.h
Generated on Tue Oct 15 2024 06:02:18 for ReactOS by
1.9.6