SDC C-Project CF Review 프로그램
LYW
2021-08-09 b354c153b0074e5d54371bc05b12edbe8e613a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __GRID_CELL_BUTTON__
#define __GRID_CELL_BUTTON__
 
#include "GridCell.h"
 
class AFX_EXT_CLASS CGridCellButton : public CGridCell
{
    friend class CGridCtrl;
    DECLARE_DYNCREATE(CGridCellButton)
 
public:
    CGridCellButton(void);
    ~CGridCellButton(void);
 
public:
    virtual BOOL Draw(CDC* pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd = TRUE);
 
protected:
    virtual void OnClick(CPoint PointCellRelative);
    virtual void OnMouseLeave();
 
protected:
    CRect m_rect;
    BOOL m_bPushing;
};
#endif