-
DOS下实现汉字的源码,并且有下拉菜单制作和普通小型汉字库的实现!...
DOS下实现汉字的源码,并且有下拉菜单制作和普通小型汉字库的实现!-under DOS source of Chinese characters, and a drop-down menu of small production and the general realization of the Store!
- 2022-06-12 06:57:09下载
- 积分: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
-
自己画的GRID控件,用EDIT和custerm control为基础来实现。
自己画的GRID控件,用EDIT和custerm control为基础来实现。-GRID painting their own controls, using EDIT and custerm control-based to achieve.
- 2023-04-25 11:20:03下载
- 积分:1
-
这是一个realplayer的源代码
这是一个realplayer的源代码-This is a source REALPLAYER
- 2022-05-23 05:37:01下载
- 积分:1
-
一个关于图形绘制的例子,教你使用Graphics对象绘图
一个关于图形绘制的例子,教你使用Graphics对象绘图-on a graphic example, you use the Graphics object mapping
- 2022-06-27 21:13:55下载
- 积分:1
-
控件上的滑块,因为它的外观和位置的定义。疗法…
关于滑块的控件,自定义其外观和位置。有个各函数可以调用。不用自己手写代码,大家可以看看。-slider on the control, since the definition of its appearance and location. There can call the function. Not own handwritten code, we will look at.
- 2022-08-07 14:13:54下载
- 积分:1
-
在重绘美化RadioButton控件可以直接带来的
一个经过重绘美化的Radiobutton控件,可直接拿来用-After a redraw beautified Radiobutton controls can be directly brought by
- 2022-03-05 17:57:18下载
- 积分:1
-
用slider(滑动)控件控制视图的放大和缩小
视口跟窗口的变换算法,坐标系之间转换...
用slider(滑动)控件控制视图的放大和缩小
视口跟窗口的变换算法,坐标系之间转换-Use slider (sliding) control control view, as I zoom in and out with the window transform algorithm, coordinate system conversion between
- 2023-04-05 16:20:04下载
- 积分:1
-
窗口分割类实例,使用简单,方便,只需把XSplitterWnd.cpp,XSplitterWnd.h加入源就可以使用...
窗口分割类实例,使用简单,方便,只需把XSplitterWnd.cpp,XSplitterWnd.h加入源就可以使用-window segmentation category example, the use of simple, convenient and needs to do XSplitterWnd.cpp, XSplitterWnd.h join the source can use
- 2023-03-25 02:55:04下载
- 积分:1
-
vc6.0开发的各种不规则窗口的实现,非常实用,好看
vc6.0开发的各种不规则窗口的实现,非常实用,好看
- 2022-01-31 06:54:10下载
- 积分:1