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

📄 uicombox.cpp

📁 开发环境为EVC++,这个是一个我的一个简单的拨号程序,是通过串口接的GPRS模块,有开发WinCE下的同志可以以次入门
💻 CPP
字号:
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "uicombox.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

BEGIN_MESSAGE_MAP(CUIComBox, CComboBox)

END_MESSAGE_MAP()

CUIComBox::CUIComBox()
{

}
CUIComBox::~CUIComBox()
{

}

void CUIComBox::Init(const RECT& rect, CWnd* pParentWnd, DWORD dwID,DWORD *dwParam)
{

	DWORD dwStyle=WS_CHILD | WS_VISIBLE | CBS_AUTOHSCROLL | /*CBS_NOINTEGRALHEIGHT |*/ LBS_HASSTRINGS | WS_VSCROLL;
	m_dwthisID=dwID;
	if(!Create(dwStyle,rect,pParentWnd,m_dwthisID))//must pParentWnd not this
	{
		MessageBox(_T("CUIComBox Create  Fails!"));
		return;
	}
}

⌨️ 快捷键说明

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