-
滚动演示选项卡
Tab with Scroll Demo
- 2022-03-21 10:20:49下载
- 积分:1
-
demonstrated how to make Office the same as the menu, Cool!
演示了如何做出像Office一样的菜单,Cool!-demonstrated how to make Office the same as the menu, Cool!
- 2022-07-20 10:48:20下载
- 积分:1
-
MFC创建进程、打开进程、终止进程
资源描述
创建进程、打开进程、终止进程
*两个函数 CreateProcess、openProcess、TerminateProcess
*获得进程句柄
*获得进程号
*提升进程权限
*Microsoft Spy++
操作平台:win10+vs2013 pro
操作步骤:
1、创建进程
PROCESS_INFORMATION pi;//进程信息结构
STARTUPINFO si;//启动信息结构
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
si.wShowWindow = SW_SHOW;
si.dwFlags = STARTF_USESHOWWINDOW;
TCHAR szPath[] = TEXT("c:windowssystem32
otepad.exe E:c++MFCa.txt");
BOOL bRet = ::CreateProcess(NULL, szPath, NULL, FALSE, NULL, NULL, NULL, NULL, &si, &pi);
int error = GetLastError();
if (bRet)
{
::CloseHandle(pi.hThread);
::CloseHandle(pi.hProcess);
AfxMessageBox(TEXT("创建进程成功"));
}
else
{
AfxMessageBox(TEXT("创建进程失败"));
}
2、打开进程
DWORD pid;
//若有指定窗口类和窗口名称则表示成功返回一个窗口的句柄
HWND hCalc = ::FindWindow(TEXT("Note
- 2022-03-25 15:36:01下载
- 积分:1
-
mfc绘制静态曲线
总结:本文简单介绍了利用TeeChart控件在VC++编程平台上绘制曲线的过程,当然本例程只用到了此控件很少的一部分功能,TeeChart还可以提供其它更加丰富的功能以满足我们的不同要求。如有好的建议请留言
- 2023-08-31 11:30:04下载
- 积分:1
-
这是对细胞图像进行处理,并且进行模拟的图像,可以实现对细胞的计数。...
这是对细胞图像进行处理,并且进行模拟的图像,可以实现对细胞的计数。-This is the cell image processing, and simulation images can be achieved on cell count.
- 2023-09-03 23:15:04下载
- 积分:1
-
在Qt编程源代码,熟练的很好的,不记得了,好像…
精通QT编程 的源码,很不错,记不太清了,好像是电子工业出版社出版的-Proficient in QT programming source code, very good, do not remember, as if the electronics industry publishing house
- 2022-04-07 12:06:58下载
- 积分:1
-
c++ 的api的 详细使用文档!!!经典之作
c++ 的api的 详细使用文档!!!经典之作-the use of the detailed documentation! ! ! Classical works! !
- 2022-12-17 19:25:03下载
- 积分:1
-
一款中国象棋的源程序,难度不大,供各位编程辛苦闲暇之余玩乐...
一款中国象棋的源程序,难度不大,供各位编程辛苦闲暇之余玩乐-new source of Chinese chess, not more difficult, for your hard leisure programming while having fun
- 2023-05-03 08:10:02下载
- 积分:1
-
高级顶层窗口是一种无标题栏、菜单、工具条的一种常居顶层的窗口,最常见的例子就是输入法窗口,比如智能ABC窗口。这类窗口的特点除了上边所说的,最重要的就是窗口移动...
高级顶层窗口是一种无标题栏、菜单、工具条的一种常居顶层的窗口,最常见的例子就是输入法窗口,比如智能ABC窗口。这类窗口的特点除了上边所说的,最重要的就是窗口移动。普通窗口移动是通过标题栏由系统自动实现的,对于这类窗口就无法依靠系统了,需要手工实现。实现的方法有两种:
手工处理WM_MOVE、WM_LBUTTONUP消息,并根据鼠标的移动自己实现窗口移动过程中的绘制;
在WM_MOVE消息处理函数中通过向自己发送参数wParam为HTCAPTION lParam为鼠标位置的WM_NCLBUTTONDOWN消息实现窗口移动,此时窗口移动过程的绘制由系统实现。
显然,后者较前者简单。本文采用后者。-top window is a non-title bar, menus, tools of a regular Habitat top of the window, the most common example is the input window, such as smart window ABC. This window features in addition to the upside, the most important thing is moving the window. General Mobile through the window title bar automatically by the system for such window will not be able to rely on the system, and will need to achieve manually. Implementation of two ways : manual processing WM_MOVE, WM_LBUTTONUP news, and in accordance with the movement of the mouse to achieve their mobile window in the process of drawing; In WM_MOVE message processing function to send itself through the parameters wParam HTCAPTION
- 2022-08-06 00:41:04下载
- 积分:1
-
用Split控件来实现分割面板,并在面板中显示出几个图形,文件为SplitPaneDemo.java...
用Split控件来实现分割面板,并在面板中显示出几个图形,文件为SplitPaneDemo.java-with Split Control Panel to achieve segmentation, and the panel shows that few graphics, document SplitPaneDemo.java
- 2023-05-05 22:10:02下载
- 积分:1