-
一个类似于vc的界面源码,让vc界面开发变得简单多了.
一个类似于vc的界面源码,让vc界面开发变得简单多了.-Vc interface similar to the one source, so that vc interface development becomes much simpler.
- 2022-02-12 06:05:32下载
- 积分:1
-
在MS DOS运行此代码
this code runs in ms dos
paint.cpp : main code
bmp_defs : functions to load and save bmp files
cursor.h : definitions of different cursors used
outlook.h : contains the entire window description of paint
- 2022-01-30 18:29:35下载
- 积分: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
-
串行端口在CSharp的例子
例如使用串口数据验证终端,而不是命令提示符窗口,它可能需要按您的需求做一些修改。
- 2022-01-25 14:33:48下载
- 积分:1
-
这是一个书上的网上购书系统管理系统,请大家借鉴,希望对大家有所帮助...
这是一个书上的网上购书系统管理系统,请大家借鉴,希望对大家有所帮助-This is a book online book system management system, please learn from, I hope all of you to help
- 2022-09-01 09:15:03下载
- 积分:1
-
对Tab Control的具体实现,对初级程序员具有参考价值。
对Tab Control的具体实现,对初级程序员具有参考价值。-Tab Control of the concrete realization of junior programmers with reference value.
- 2022-01-26 02:32:34下载
- 积分:1
-
很多时候,你想在你定制对话框显示的颜色。也许是单向的…
Quite often, you want to customize the colors shown in your dialogs. Maybe a unique, original look is required (and you don t want to go all the way into skinning) perhaps a red background seems suitable for critical error messages if you ve developed a complex dialog, parts of which serve as drop targets, you might want to emphasize those: or, in a form with required fields, you might want a different color for them. -Quite often, you want to customize the colors shown in your dialogs. Maybe a unique, original look is required (and you don t want to go all the way into skinning) perhaps a red background seems suitable for critical error messages if you ve developed a complex dialog, parts of which serve as drop targets, you might want to emphasize those: or, in a form with required fields, you might want a different color for them.
- 2022-04-19 03:05:04下载
- 积分:1
-
DFT的GUI界面
使用matlab GUI编写的DFT计算界面,显示矩形函数及其DFT变换
- 2022-02-03 11:07:55下载
- 积分:1
-
经典华容道游戏C#版本
资源描述基于VSAC012开发的C#小游戏,华容道,经典!
- 2022-07-24 16:11:19下载
- 积分:1
-
这是一个MFC示例。
This a MFC sample.-This is a MFC sample.
- 2022-05-24 04:24:28下载
- 积分:1