大约有 2,000 项符合查询结果(耗时:0.0154秒) [XML]
mfc 如何隐藏滚动条 - C++ UI - 清泛IT社区,为创新赋能!
void Cxxx::OnSize(UINT nType, int cx, int cy)
{
...
ShowScrollBar(SB_BOTH, FALSE);
...
}
简单粗暴,最实用,亲测有效。
LOGFONT 和 CFont 区别 - VC/MFC - 清泛IT论坛,有思想、有深度
LOGFONT 和 CFont 本质上是相同的,前者是存储字体相关数据的一个结构体,后者是封装LOGFONT的一个类,用于创建使用字体。
创建字体:
CFont *f = new CFont;
f->CreateFont(13, // nHeight
 ...
CTabCtrl activetab 设置焦点Tab - VC/MFC - 清泛IT论坛,有思想、有深度
CTabCtrl::SetCurSel(n);
xxxdlg.ShowWindow(SW_SHOW);
OnInitDialog()中SetFocus()设置焦点不起作用解决方法 - VC/MFC - 清泛IT论...
BOOL Cxxx::OnInitDialog()
{
...
::SetFocus(m_wndEdit); // 不起作用,请参照如下VS自动生成的注释。
...
return TRUE; // 除非将焦点设置到控件,否则返回 TRUE
}
当然,改为return FALSE;能解...
MFC CTabCtrl如何添加一个标签按钮关闭 - C++ UI - 清泛IT社区,为创新赋能!
使用CMFCTabCtrl,调CMFCTabCtrl::EnableActiveTabCloseButton函数即可。
SetRegistryKey 作用 - VC/MFC - 清泛IT论坛,有思想、有深度
BOOL CxxxApp::InitInstance()
{
....
// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移...
MFC 设置控件字体,颜色,大小,粗体,下划线等 - C++ UI - 清泛IT社区,为...
参考代码:CFont *f = new CFont;
f->CreateFont(16, // nHeight
0, // nWidth
0, // nEscapement
 ...
MFC Grid control 2.27 - C/C++ - 清泛网移动版 - 专注IT技能提升
...开源的轻量级的MFC表格控件,使用比较广泛,可快速做出各种定制界面的表格。
Download Grid Control Source and Demo - 311.9 KB
Preface
This grid is the work of thousands of hours of squinting at pixels, hunting memory leaks, adding new features, fixing new bugs...
MFC Grid control 2.27 - C/C++ - 清泛网移动版 - 专注IT技能提升
...开源的轻量级的MFC表格控件,使用比较广泛,可快速做出各种定制界面的表格。
Download Grid Control Source and Demo - 311.9 KB
Preface
This grid is the work of thousands of hours of squinting at pixels, hunting memory leaks, adding new features, fixing new bugs...
MFC Grid control 2.27 - C/C++ - 清泛网移动版 - 专注IT技能提升
...开源的轻量级的MFC表格控件,使用比较广泛,可快速做出各种定制界面的表格。
Download Grid Control Source and Demo - 311.9 KB
Preface
This grid is the work of thousands of hours of squinting at pixels, hunting memory leaks, adding new features, fixing new bugs...
