大约有 300 项符合查询结果(耗时:0.0024秒) [XML]

https://bbs.tsingfun.com/thread-755-1-1.html 

MFC RadioButton不互斥?可能由于不同分组导致 - C++ UI - 清泛IT社区,为创新赋能!

现象如下: MFC添加的单选默认是互斥的,如果出现上述情况,可能是它们处于不同的分组或Tab顺序不连续。 分组:每组第一个RadioButton的Group属性为TRUE,分组完成,即从当前设置Group属性为TRUE的RadioButton开始直到碰到下一个...
https://bbs.tsingfun.com/thread-751-1-1.html 

解决:mfcs110ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 已经在 ...

原因分析: _USRDLL定义有的话,MFC会自动生成一个DllMain入口函数, 这时在dll源码中额外又添加了一个DllMain入口函数,就会出现重定义冲突。
https://bbs.tsingfun.com/thread-879-1-1.html 

mfc 禁止对话框改变大小 - C++ UI - 清泛IT社区,为创新赋能!

将Border改为“Dialog Frame”,相应地把最大、小化按钮灰掉。 若为“Resizing”则可改变大小。 {:wabi:}
https://bbs.tsingfun.com/thread-767-1-1.html 

MFC CTabCtrl如何添加一个标签按钮关闭 - C++ UI - 清泛IT社区,为创新赋能!

使用CMFCTabCtrl,调CMFCTabCtrl::EnableActiveTabCloseButton函数即可。
https://bbs.tsingfun.com/thread-866-1-1.html 

mfc 如何隐藏滚动条 - C++ UI - 清泛IT社区,为创新赋能!

void Cxxx::OnSize(UINT nType, int cx, int cy) {     ...     ShowScrollBar(SB_BOTH, FALSE);        ... } 简单粗暴,最实用,亲测有效。
https://bbs.tsingfun.com/thread-2483-1-1.html 

ClickTools 拓展:为布局、标签等没有点击事件的组件添加点击事件 - App In...

...ponent. [size=15.008px]  IMPORTANT   If you register button or another clickable components then the built in .Click event will not work See here[color=var(--primary-high-or-secondary-low)][backcolor=var(--blend-primary-secondary-5)] Anke: if a component has been registered...
https://bbs.tsingfun.com/thread-24-1-1.html 

mfc 按钮变成了非xp风格、界面变成windows经典样式? - C++ UI - 清泛IT社...

首先看一下xp风格与非xp风格:   非xp风格          xp风格 stdafx.h中添加: #ifdef _UNICODE #if defined _M_IX86 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArc...
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...
https://bbs.tsingfun.com/thread-3277-1-1.html 

App Inventor 快速入门:20 分钟做出第一个能装进手机的 App - App应用开发...

...菜单「打包」→「Android APK」→ 等编译(约 1-2 分钟)→ 下载 .apk • APK 发到手机安装(微信/QQ/数据线均可),装完就是独立 App,不依赖电脑和伴侣; • 注意:微信传大文件可能改名或损坏,装不上看本系列 Day2 的 5 步定...
https://bbs.tsingfun.com/thread-778-1-1.html 

vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!

直接上代码,可直接运行亲测有效,使用SHFileOperation函数: #include "stdafx.h" #include <windows.h> int _tmain(int argc, _TCHAR* argv[]) {         LPTSTR delFileName = L"c:/test/test*.txt";        ...