-
单文档基本的绘图功能,包括直线、椭圆、矩形等,可移动图形...
单文档基本的绘图功能,包括直线、椭圆、矩形等,可移动图形-Single document the basic drawing functions, including linear, oval, rectangular, etc., mobile graphics
- 2022-01-28 15:50:17下载
- 积分:1
-
MFC线程控制
资源描述
创建线程
1、创建线程 AfxBeginThread();
2、线程函数 typedef UINT(AFX_CDECL *AFX_THREADPPOC)(LPVOID);
线程控制
1、暂停
2、继续
3、终止
说明
1、主线程一般用来做界面响应
2、线程函数声明(.h)
//线程函数声明
UINT DemoA(LPVOID pParam);//线程函数需设成全局的,不能写在类下(类下要做成静态函数)
UINT DemoB(LPVOID pParam);
UINT DemoC(LPVOID pParam);
3、线程函数定义(.cpp)
CWinThread* g_pThreadA;
BOOL g_bRunningA;//记录线程是否运行
//线程函数定义
UINT DemoA(LPVOID pParam)
{
for (int m = 1; m m_pMainWnd->m_hWnd,IDC_OUTPUT2, m,false);
Sleep(1000);
}
g_bRunningA = false;
g_pThreadA = NULL;
return 0;
}
UINT DemoB(LPVOID pParam)
{
for (int n = 1; n m_pMainWnd->m_hWnd, I
- 2023-05-28 17:40:24下载
- 积分:1
-
graphics curriculum design, able to draw lines, the Circle, such as painting ell...
图形学课程设计,能实现画线,画圆,画椭圆等图形,还能实现给图形上色,变形等功能-graphics curriculum design, able to draw lines, the Circle, such as painting elliptical graphics, but also to achieve color graphics, deformation features
- 2022-09-06 04:15:03下载
- 积分:1
-
用c语言编写的记事本程序,可以实现记事本的相关功能
用c语言编写的记事本程序,可以实现记事本的相关功能-prepared by the Chronicle this program, the notebook can achieve the related functional
- 2022-12-16 02:10:03下载
- 积分:1
-
一个自画进度条,比较漂亮
一个自画进度条,比较漂亮--A progress bar of owner draw,beautiful!
- 2022-02-03 13:21:09下载
- 积分:1
-
影片结构
这个源代码是关于一个约movieType结构的C语言编程 定义一个struct,movieType,存储以下dataabout电影:电影的名字(字符串),电影导演(字符串),制片人(字符串),这一年的电影发行(INT),以及数ofcopies股票。编写一个程序,声明类型movieType的avariable,提示用户输入数据有关的电影,andoutputs的电影数据。
- 2022-03-18 02:37:47下载
- 积分:1
-
WIN98/2000自动修改IP程序
"AUTOIP 3.5"使用方法
WIN98/2000自动修改IP程序
"AUTOIP 3.5"使用方法
-WIN98/2000 IP automatically modified procedures "AUTOIP 3.5" use
- 2023-02-25 23:05:04下载
- 积分:1
-
改进的xp的explorer左侧导航栏,每栏内容可以随意修改,实现单排与多排,相应更改栏目标题功能。...
改进的xp的explorer左侧导航栏,每栏内容可以随意修改,实现单排与多排,相应更改栏目标题功能。-Improved xp left navigation bar of the explorer, the contents of each column can be modified to achieve single-row and multi-row, the corresponding function to change the column headings.
- 2022-03-11 21:06:05下载
- 积分:1
-
使用纹理模拟泡泡
本代码介绍了使用OpenGL的纹理技术模拟一幅含有海岸小岛蓝天白云的3D巡游地图,非常逼真,
- 2022-03-20 14:04:08下载
- 积分:1
-
js+css的lightbox代码,适合初学者使用
js+css的lightbox代码,适合初学者使用-js+ css the lightbox code, suitable for beginners to use
- 2023-01-08 04:40:03下载
- 积分:1