⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inbutton.h

📁 C++编程实践与技巧一书各章节的源码
💻 H
字号:

#if !defined(AFX_HIBUTTON_H__44AF4523_1247_11D2_863B_0040055C08D9__INCLUDED_) 

#define AFX_HIBUTTON_H__44AF4523_1247_11D2_863B_0040055C08D9__INCLUDED_ 

#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 

///////////////////////////////////////////////////////////////////////////// 

// CDouButton window 

class CDouButton : public CButton 
{ 
// Construction 
public: 
 CDouButton(); 
 BOOL m_bInsideButton; //是否内部按钮标识
 HBITMAP SetBitmap( HBITMAP hBitmap ); //设置位图
 HICON SetIcon( HICON hIcon ); //设置图标
 HCURSOR SetCursor( HCURSOR hCursor ); //设置光标
// Attributes 
public: 

// Operations 
public: 

// Overrides 
 // ClassWizard generated virtual function overrides 
 //{{AFX_VIRTUAL(CDouButton) 
 protected: 
 virtual void PreSubclassWindow(); 
 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); 
 //}}AFX_VIRTUAL 

// Implementation 
public: 
 virtual ~CDouButton(); 

 // Generated message map functions 
protected: 
 //{{AFX_MSG(CDouButton) 
 // NOTE - the ClassWizard will add and remove member functions here. 
 //}}AFX_MSG 

 DECLARE_MESSAGE_MAP() 
private: 
 CButton m_wndButtonInside; 
}; 

///////////////////////////////////////////////////////////////////////////// 

//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations 

#endif // !defined(AFX_HIBUTTON_H__44AF4523_1247_11D2_863B_0040055C08D9__INCLUDED_) 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -