大约有 1,600 项符合查询结果(耗时:0.0039秒) [XML]

https://www.tsingfun.com/it/cpp/1558.html 

MFC 设置控件字体,颜色,大小,粗体,下划线等 - C/C++ - 清泛网 - 专注C/...

MFC 设置控件字体,颜色,大小,粗体,下划线等参考代码:CFont *f = new CFont; f->CreateFont(16, nHeight 0, nWidth ...参考代码: CFont *f = new CFont; f->CreateFont(16, // nHeight 0, // nWidth 0, // nEsca...
https://www.tsingfun.com/it/cpp/2120.html 

MFC 去掉控件的边框 - C/C++ - 清泛网 - 专注C/C++及内核技术

MFC 去掉控件的边框1、属性中可以设置的话,设置其Border属性为None。2、ClientEdge导致的边框:m_Grid.ModifyStyleEx(WS_EX_CLIENTEDGE, NULL);(注:Modify...1、属性中可以设置的话,设置其Border属性为None。 2、ClientEdge导致的边框:m_Grid.ModifySty...
https://www.tsingfun.com/it/cpp/2123.html 

MFC Static透明背景色的实现、Static控件自绘、Static字体修改 - C/C++ - ...

MFC Static透明背景色的实现、Static控件自绘、Static字体修改第一种:pDC->SetBkMode(TRANSPARENT);afx_msg HBRUSH CtlColor(CDC* *pDC* , UINT *nCtlColor* );COLORREF m_crText;COLORREF m_...第一种:pDC->SetBkMode(TRANSPARENT); afx_msg HBRUSH CtlColor(CDC* /*pDC*/, UINT /*nCtlC...
https://www.tsingfun.com/it/cpp/2178.html 

MFC 控件绑定的几种方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

MFC 控件绑定的几种方法方法一(最常用的,DoDataExchange中):DDX_Control(pDX, IDC_BUTTON_ADD, m_btnAdd);方法二(OnInitDialog中):m_btnAdd.SubclassDlgItem(IDC_BUTTON_ADD,this);方法一(最常用的,DoDataExchange中): DDX_Control(pDX, IDC_BUTTON_ADD, m_btnAdd); ...
https://www.tsingfun.com/down/code/103.html 

MFC日历控件完全自绘MyCalendar Control - 源码下载 - 清泛网 - 专注C/C++及内核技术

MFC日历控件完全自绘MyCalendar Control日历控件 自绘 MyCalendar Control CDateTimeCtrlIntroductionThis article is about theMyCalendarcontrol programmed with Windows SDK. It is developed to be easy to ... Introduction This article is about the MyCalendar control programmed with Windows S...
https://www.tsingfun.com/it/cpp/1873.html 

MFC的多国语言界面的实现 - C/C++ - 清泛网 - 专注C/C++及内核技术

...行不同语言的定制,根据资源对应的语言,设置对话框和控件的标题等。 3. Locale 程序的语言选择跟操作系统语言(System Locale)、用户设置语言(User Locale)和线程语言(Thread Locale)有关。程序运行时,是根据线程语言来选择资源...
https://www.tsingfun.com/it/cpp/1584.html 

MFC ComboBox控件如何在属性页中添加多项下拉数据 - C/C++ - 清泛网 - 专注...

MFC ComboBox控件如何在属性页中添加多项下拉数据运行效果: 运行效果: ComboBox 多项 下拉数据
https://www.tsingfun.com/it/cpp/2128.html 

VC 对话框背景色覆盖CEdit背景色的解决方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...色 解决方法: 在OnCtlColor设置对话框背景色时,对Edit控件进行例外处理,即使用原色,代码如下: //页面背景色 HBRUSH CDemoView::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CFormView::OnCtlColor(pDC, pWnd, nCtlColor); // TODO: ...
https://bbs.tsingfun.com/thread-750-1-1.html 

MFC ComboBox控件如何在属性页中添加多项下拉数据? - C++ UI - 清泛IT社区...

如题。 运行效果:
https://bbs.tsingfun.com/thread-836-1-1.html 

MFC 设置控件字体,颜色,大小,粗体,下划线等 - C++ UI - 清泛IT社区,为...

参考代码:CFont *f = new CFont; f->CreateFont(16, // nHeight                 0, // nWidth                 0, // nEscapement               &nbsp...