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

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

在ATL无窗口ActiveX 控件中如何使用定时器? - 其他 - 清泛IT社区,为创新赋能!

MFC中SetTimer设置定时器、OnTimer时间触发回调函数均是CWnd的成员函数,但前提是必须在有窗口的环境下。 对于ATL无窗口的情况,只能使用原始SetTimer Win32 API函数,如下: 回调函数: VOID CALLBACK TimerProc(     HWND hwnd, ...
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-823-1-1.html 

nsis安装之前备份程序,便于回滚 - 脚本技术 - 清泛IT社区,为创新赋能!

...;$PLUGINSDIR\Data_1.png"   Sleep 500   File "mfc*.dll"   File "msvcp*.dll"   File "msvcr*.dll"复制代码安装复制文件之前,加入备份策略,这里是一种最简单的策略: 把安装目录下所有的文件...
https://bbs.tsingfun.com/thread-11-1-1.html 

CreateWindow()动态创建一个EditBox - C/C++ - 清泛IT论坛,有思想、有深度

本帖最后由 zqp2013 于 2015-1-4 16:21 编辑 在Win32代码或MFC代码中动态创建一个EditBox: 在OnInitDialog()函数中:         // 创建EditBox         HWND m_wndEdit = CreateWindow(_T("EDIT"), 0, WS_C...
https://www.tsingfun.com/it/bigdata_ai/2293.html 

理解Python的 with 语句 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...工作更简单。 I have put the code examples given here on Github. 示例代码可以在Github上面找到。 译注:本文原文见Understanding Python's "With" Statement linbo(同济大学·计算机科学与技术系) Python with
https://www.tsingfun.com/it/cpp/1460.html 

控件重绘函数/消息OnPaint,OnDraw,OnDrawItem,DrawItem的区别 - C/C++ - 清...

...会调用OnDrawItem。在SDK中,子类是不可能收到WM_DRAWITEM,在MFC中可以,这是类的设计者设计的(反射),这的确不错。 在学习中还有一个消息也是由宿主类被调用的,它就是WM_CTLCOLOR。这个消息是在子控件将要绘画时,向宿主类发送...
https://www.tsingfun.com/it/cpp/2170.html 

解决:CTreeCtrl控件SetCheck无效的问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

...起作用 而对于非初始化中的SetCheck,则不受影响。 MFC CTreeCtrl SetCheck
https://www.tsingfun.com/it/cpp/1441.html 

Windows下 C++网络延时检测 - C/C++ - 清泛网 - 专注C/C++及内核技术

...否正常服务,这就类似telnet命令了。 解决方案参考:《mfc telnet 端口,代码实现、不调用telnet.exe》。 Windows C++ 网络延时
https://stackoverflow.com/ques... 

STAThread and multithreading

...e Thread class from thread.h (the COM thread.h) documented anywhere? Is it MFC, ATL, or something else? – jrh May 5 '17 at 19:18 ...
https://stackoverflow.com/ques... 

error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup

... life saver for me ! I was using cmake + mfc (unicode) – malat Sep 2 '14 at 14:02 add a comment  |  ...