blob: 453df0384b84419eebd81b089ed87a683d242e9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef T2DLL_CTOGGLEBUTTONDISABLED_H
#define T2DLL_CTOGGLEBUTTONDISABLED_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT CToggleButtonDisabled : public T2DlgItem {
public:
CToggleButtonDisabled(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual BOOL Create(const char* windowName, DWORD style, const RECT& rect, CWnd* parentWnd, UINT nId);
virtual void SetValue(int value);
void Enable();
void Disable();
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* dc);
virtual void OnT2DlgItemLButtonDown(UINT nFlags, CPoint pt);
virtual void OnT2DlgItemLButtonUp(UINT nFlags, CPoint pt);
virtual void OnT2DlgItemMouseMove(UINT nFlags, CPoint pt);
};
#endif
|