Introduction - If you have any usage issues, please Google them yourself
This example, by creating 2 threads to achieve 2 balls in a fixed area, I hope you can master the creation and stop operation of the thread.
Packet : 5956444ff002.rar filelist
mfc创建进程.rar
mfc创建进程.rar\CThreadEx
mfc创建进程.rar\CThreadEx\040.GIF
mfc创建进程.rar\CThreadEx\040.bmp
mfc创建进程.rar\CThreadEx\041.GIF
mfc创建进程.rar\CThreadEx\041.bmp
mfc创建进程.rar\CThreadEx\41.bmp
mfc创建进程.rar\CThreadEx\CThreadEx.aps
mfc创建进程.rar\CThreadEx\CThreadEx.clw
mfc创建进程.rar\CThreadEx\CThreadEx.cpp
mfc创建进程.rar\CThreadEx\CThreadEx.dsp
mfc创建进程.rar\CThreadEx\CThreadEx.dsw
mfc创建进程.rar\CThreadEx\CThreadEx.h
mfc创建进程.rar\CThreadEx\CThreadEx.ncb
mfc创建进程.rar\CThreadEx\CThreadEx.plg
mfc创建进程.rar\CThreadEx\CThreadEx.rc
mfc创建进程.rar\CThreadEx\CThreadExDlg.cpp
mfc创建进程.rar\CThreadEx\CThreadExDlg.h
mfc创建进程.rar\CThreadEx\ReadMe.txt
mfc创建进程.rar\CThreadEx\Resource.h
mfc创建进程.rar\CThreadEx\StdAfx.cpp
mfc创建进程.rar\CThreadEx\StdAfx.h
mfc创建进程.rar\CThreadEx\Thumbs.db
mfc创建进程.rar\CThreadEx\face1.bmp
mfc创建进程.rar\CThreadEx\face2.bmp
mfc创建进程.rar\CThreadEx\CThreadEx.opt
mfc创建进程.rar\CThreadEx\Debug
mfc创建进程.rar\CThreadEx\res
mfc创建进程.rar\CThreadEx\res\CThreadEx.ico
mfc创建进程.rar\CThreadEx\res\CThreadEx.rc2