C++
971588431
没什么说的
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CString的成员函数用法大全
CString的构造函数 CString( ); 例:CString csStr; CString( const CString& stringSrc ); 例:CString csStr("ABCDEF中文123456"); CString csStr2(csStr); CString( TCHAR ch, int nRepeat = 1 ); 例:CStrin转载 2016-08-20 16:38:58 · 508 阅读 · 0 评论 -
C++ MFC 改变控件大小和位置
用CWnd类的函数MoveWindow()或SetWindowPos()可以改变控件的大小和位置。 void MoveWindow(int x,int y,int nWidth,int nHeight); void MoveWindow(LPCRECT lpRect); 第一种用法需给出控件新的坐标和宽度、高度; 第二种用法给出存放位置的CRect对象; 例: CWnd *pWnd;转载 2016-09-22 22:25:10 · 2811 阅读 · 0 评论 -
MFC判断某程序是否正在运行及关闭某外部运行进程
包含头文件: #include <windows.h> //不一定需要 #include "psapi.h" //不一定需要 #include"stdio.h"//不一定需要 #include <tlhelp32.h>//一定需要 函数: /*-----------------------------------------------------...原创 2019-07-02 14:24:17 · 3666 阅读 · 1 评论
分享