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

📄 ceditbox.hpp

📁 bt848,bt878 a采集卡的探测
💻 HPP
字号:
// EditBox class
#ifndef _CEDITBOX_HPP
#define _CEDITBOX_HPP


#include "CWnd.hpp"
#include "CString.hpp"

class CEditBox : public CWnd {
public:
	// Constructors
	CEditBox() {}
	CEditBox(CWnd& father,int nID) : CWnd(father,nID) {}
	// This seems to be very useful
	CEditBox& operator=(LPTSTR txt) { SetText(txt); return *this; }
	CEditBox& operator=(CString& txt) { SetText(txt); return *this; }
	// To limit text length
	void SetLimitText(int max) { SendMessage(EM_SETLIMITTEXT,(WPARAM)max*sizeof(TCHAR),(LPARAM)0);}
	
};


#endif

⌨️ 快捷键说明

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