大约有 18,000 项符合查询结果(耗时:0.0263秒) [XML]
MFC SysLink的使用方法 - C/C++ - 清泛网 - 专注C/C++及内核技术
...MLink = (PNMLINK) pNMHDR;
if (wcscmp(pNMLink->item.szUrl, L"https://www.tsingfun.com") == 0)
{
// 主要执行语句
ShellExecuteW(NULL, L"open", pNMLink->item.szUrl, NULL, NULL, SW_SHOWNORMAL);
}
*pResult = 0;
}
MFC SysLink
C++字符串截断时中文的处理问题(中文被截断怎么处理?) - C/C++ - 清泛网...
...一个字节,否则是普通的ASCII字符。
具体请参考:https://www.tsingfun.com/it/cpp/1335.html
当然,还有其他方式就是判断 > 127 或 < 0(即首bit为1,signed时值为负),道理也是一样,不过推荐上面的写法。C++ 字符串 中文截断
CreateWindow()动态创建一个EditBox - C/C++ - 清泛网 - 专注C/C++及内核技术
...的内容。
另外,如何设置输入框焦点,请参照:https://www.tsingfun.com/it/cpp/1538.htmlCreateWindow 动态创建 EditBox
mfc spin control 用法 - C/C++ - 清泛网 - 专注C/C++及内核技术
...Spin的属性,实现控制Edit控件数字的增减,详见:https://www.tsingfun.com/it/cpp/1564.html。mfc spin
一款IP:端口监控工具 服务器端口监控工具[附源码] - C/C++ - 清泛网 - 专注...
...蜂鸣器、自定义wav文件)。
软件下载:https://www.tsingfun.com/down/soft/74.html
源码下载:TradeMonitor.zip
主要代码请参考:《mfc telnet 端口,代码实现、不调用telnet.exe》
表格采用GridCtrl(Demo源码):《MFC Grid control 2.27》
...
c++文件流基本用法(ifstream, ostream,fstream) - C/C++ - 清泛网 - 专注C/C++及内核技术
...以调用read函数和write函数来读写文件。可参见:
https://www.tsingfun.com/it/cpp/all_programming_language_file_read_write_summary.html#C
c++ ,文件流,ifstream, ostream,fstream
[完整源码实例] 修改 CListCtrl 的标题栏字体颜色;重绘 CListCtrl 标题栏 ...
...= m_ListCtrl.InsertItem(0, _T("1"));
m_ListCtrl.SetItemText(nRow, 1, _T("www.tsingfun.com")); //设置数据
m_ListCtrl.SetItemText(nRow, 2, _T("无"));
CFont *f = new CFont;
f->CreateFont(13, // nHeight
0, // nWidth
...
CListCtrl 行高设置,自定义行高 - C/C++ - 清泛网 - 专注C/C++及内核技术
...= m_ListCtrl.InsertItem(0, _T("1"));
m_ListCtrl.SetItemText(nRow, 1, _T("www.tsingfun.com")); //设置数据
m_ListCtrl.SetItemText(nRow, 2, _T("行高50px"));
//调用设置行高
m_ListCtrl.SetRowHeigt(50);
OK。
工程源码下载:CListCtrl_RowHeight.zip
CListCtrl 行高 自定...
c/c++如何获取CPU的序列号? - C/C++ - 清泛网 - 专注C/C++及内核技术
...另一组返回的是扩展信息。
继续了解请参考:https://www.tsingfun.com/it/cpp/1965.html
运行结果:
CPU 序列号 cpuid
[解决]错误对话框\"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]);
抑或是:
解决了,是链表处理的时候没做...
