大约有 28,000 项符合查询结果(耗时:0.0360秒) [XML]
MFC MDI程序的窗口菜单无法正确显示 - C/C++ - 清泛网 - 专注C/C++及内核技术
...利用mfc框架已有的机制实现窗口列表的功能。
来源:http://bbs.csdn.net/topics/350066084
未验证,仅Mark一下。MFC MDI 菜单
如何获取IE (控件)的所有链接(包括Frameset, iframe) - C/C++ - 清泛网 -...
...点进行处理
}
}
iframe 跨域访问(cross frame) zz from : http://codecentrix.blogspot.com/ ... cument-returns.html
由于安全性限制, 为防止跨域脚本攻击, 当frames 跨域的时候, IHTMLWindow2::get_document 调用将返回 E_ACCESSDENIED 。
下面函数 HtmlWindowToH...
为什么编译好的libcurl静态lib用不了? - C/C++ - 清泛网 - 专注C/C++及内核技术
...y extra CFLAGS, but use one of the import libraries below
请参考:http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur
在需要调用静态lib的工程(非libcurl源代码工程)预编译器中添加 CURL_STATICLIB ,即可解决。
原因解析:
curl.h中部...
Linux常用命令(持续更新...) - C/C++ - 清泛网 - 专注C/C++及内核技术
...自启动服务的方法
cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd
chkconfig --add httpd
chkconfig httpd on
磁盘空间不足,查看各目录占用情况:
cd xxx
du -h --max-depth=1
查找文件(例如/usr目录下查找包含'apache'的目录和文件):
find /usr ...
未能从“const std::string”为“const std::_Tree &”推导 模板 参数 - C/...
未能从“const std::string”为“const std::_Tree &”推导 模板 参数参考:http: www tsingfun com html 2016 dev_0630 1876 html参考:https://www.tsingfun.com/it/cpp/1876.htmlstl 模板 参数
MFC非客户区完美自绘(标题栏,边框,标题按钮)例子 - C/C++ - 清泛网 - 专...
...这样可以随便往标题添加任何按钮。
以上内容来自:http://bbs.csdn.net/topics/390624967
感谢原作者,源码下载:NCSkinDemo.rar
当然也可以整个标题栏全部自绘,这样更简便些。先设置Dialog为无边框的,然后在OnPaint函数中指定上...
Windows下如何判断Win32 or x64? - C/C++ - 清泛网 - 专注C/C++及内核技术
...使用 Windows API 函数 IsWow64Process,具体请参考MSDN文档:
http://msdn.microsoft.com/en-us/library/ms684139(VS.85).aspx
/**
* This program test if this application is a x64 program or
* is a x86 program running under Windows x64.
*
* Version: 0.1 C-Lang
* Author: F...
coinitialize失败,返回值是0x80010106 无法在设置线程模式后对其加以更改 ...
...数内调用CoInitialize,CoInitializeEx, 或 CoUninitialize。
来源:http://blog.csdn.net/wxtsmart/archive/2010/05/03/5552190.aspxcoinitialize 失败 0x80010106
[解决]错误对话框\"Encountered an improper argument.\" - C/C++ - 清泛网 - 专注C/C++及内核技术
...断,直接修改内容可能会出现上述错误。
又比如:
http://www.codeproject.com/Questions/441867/Encountered-an-improper-argument
// nItem为-1的时候,报上述错误
m_ListCtrl.SetItemText(nItem, 1, Item[numItems]);
抑或是:
解决了,是链表处理的时候...
MFC RoundRect、FillRect等函数如何设置颜色 - C/C++ - 清泛网 - 专注C/C++及内核技术
...idRect设置的颜色了。用FillSolidRect时一定要注意。
来自:http://blog.csdn.net/oliuzuoliang12/article/details/17604209
MFC RoundRect FillRect