00001
00002
00004
00005 #if !defined(AFX_MYSTATIC_H__839DEE93_99B9_4C74_9DB8_56FFED9E999C__INCLUDED_)
00006 #define AFX_MYSTATIC_H__839DEE93_99B9_4C74_9DB8_56FFED9E999C__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "MyControl.h"
00013
00014 class CMyStatic : public CMyControl
00015 {
00016 public:
00017 CMyStatic();
00018 virtual ~CMyStatic() {};
00019
00020 BOOL operator=(HWND hWnd);
00021 void operator=(char *text) { SetText(text); }
00022
00023 BOOL SetIcon(long idIcon,int dx,int dy);
00024 BOOL SetText(char *dest);
00025
00026 };
00027
00028 #endif // !defined(AFX_MYSTATIC_H__839DEE93_99B9_4C74_9DB8_56FFED9E999C__INCLUDED_)