大约有 40,000 项符合查询结果(耗时:0.0292秒) [XML]

https://www.tsingfun.com/it/cpp/1547.html 

MFC 修改对话框图标 - C/C++ - 清泛网 - 专注C/C++及内核技术

...图标在对应对话框的初始化函数OnInitDialog()中,添加以下代码:HICON m_hIcon;m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); 主框架的...在对应对话框的初始化函数OnInitDialog()中,添加以下代码: HICON m_hIcon; m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFR...
https://www.tsingfun.com/it/cpp/1570.html 

一款IP:端口监控工具 服务器端口监控工具[附源码] - C/C++ - 清泛网 - 专注...

...w.tsingfun.com/down/soft/74.html 源码下载:TradeMonitor.zip 主要代码请参考:《mfc telnet 端口,代码实现、不调用telnet.exe》 表格采用GridCtrl(Demo源码):《MFC Grid control 2.27》 端口监控 工具 源码
https://www.tsingfun.com/it/cpp/1602.html 

CListCtrl 点击/双击怎么样获得行号,列号 - C/C++ - 清泛网 - 专注C/C++及内核技术

CListCtrl 点击/双击怎么样获得行号,列号直接看代码,无论列宽是否改变都没问题,亲测有效:afx_msg void OnClickListHqbb(NMHDR* pNMHDR, LRESULT* pResult);...ON_NOTIFY(NM...直接看代码,无论列宽是否改变都没问题,亲测有效: afx_msg void OnClic...
https://www.tsingfun.com/it/cpp/1603.html 

cgridctrl 单元格下拉,单元格事件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...编辑,这时可以在Grid的EndEdit事件中处理我们的逻辑。 代码如下: ON_NOTIFY(GVN_ENDLABELEDIT, IDC_TACTICS_DETAIL_GRID, OnGridEndEdit) ... afx_msg void OnGridEndEdit(NMHDR *pNotifyStruct, LRESULT* pResult); ... void CTacticsSetDlg::OnGridEndEdit(NMHDR *pNotifyStruc...
https://www.tsingfun.com/it/cpp/1622.html 

CString的截取字符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++及内核技术

CString的截取字符串,截取ip:portCString截取ip:port,代码如下:CString strIpPort = "127.0.0.1:8888";CString strIp, strPort;int index = strIpPort.Find('...CString截取ip:port,代码如下: CString strIpPort = "127.0.0.1:8888"; CString strIp, strPort; int index = strIpPort.Fi...
https://www.tsingfun.com/it/cpp/1918.html 

CListCtrl 如何设置单元格颜色? - C/C++ - 清泛网 - 专注C/C++及内核技术

...各种自定义绘制。 拓展的类为CColorListCtrl,必需引入的代码:ColorListCtrl.zip(4个文件) 将源码引入工程,#include "ColorListCtrl.h",将CListCtrl换成CColorListCtrl,构造函数中指定CColorListCtrl对象的列数(这里假定CListCtrl你已经会用了...
https://www.tsingfun.com/it/cpp/2041.html 

error C2804:binary \'operator +\' has too many parameters - C/C++ - 清泛网 - 专注C/C++及内核技术

... too many parameterserror C2804:binary 'operator +' has too many parameters代码如下:#include <iostream> #include <string> clas...error C2804:binary 'operator +' has too many parameters 代码如下: #include <iostream> #include <string> class Sales_item { // private...
https://www.tsingfun.com/it/cpp/2050.html 

在vc中使用xtremetoolkit界面库-----安装及环境配置 - C/C++ - 清泛网 - 专...

...是有个“ xtremetoolkit的使用.txt”文件吗,把编译时报错的代码的地方用这个文件里面“ XTToolkit调试一则”前面的一部分代码替换就可以了。这还是那时候的笔记,照上面的方法改过来。 首先我们生成一个debug环境下共享的.dll库...
https://www.tsingfun.com/it/cpp/2090.html 

error C2664: “find_char”: 不能将参数 1 从“const char [14]”转换为“...

...: 不能将参数 1 从“const char [14]”转换为“std::string &出错代码:#include <iostream>#include <string>using std::cout;using std::endl;using std::string; const引用形参举例 非const...出错代码: #include <iostream> #include <string> using std::cout; using std::endl...
https://www.tsingfun.com/it/cpp/2092.html 

error C2440: “return”: 无法从“const Screen”转换为“Screen &” - C/...

...从“const Screen”转换为“Screen &”转换丢失限定符。出错代码(例子来自c++ primer 4th):Screen& Screen::display(std::ostream& os) const{ os << contents...转换丢失限定符。 出错代码(例子来自c++ primer 4th): Screen& Screen::display(std::ostream& o...