CWinThread

This class encapsulates a thread of execution within an application. The main thread of execution is usually provided by an object derived from CWinApp, which is derived from CWinThread. Additional CWinThread objects allow multiple threads within a specified application.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Remarks

Windows CE supports thread priorities differently than Windows 95 and Windows NT do, so the CWinThread::SetThreadPriority and CWinThread::GetThreadPriority methods accept and return different values than they do in those versions of Windows.

MFC for Windows CE supports the CWinThread::ProcessMessageFilter method for compatibility with existing code, but this method does not do anything in Windows CE.

See Also

CWinThread::SetThreadPriority, CWinThread::GetThreadPriority, CWinApp, CCmdTarget, Application Architecture Classes