CWinThread

A CWinThread object represents 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 given application.

At a Glance

Header File Afxwin.h
Platforms
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 member functions accept and return different values than they do in those versions of Windows.

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

See Also

CWinThread Member Functions, CWinThread Data Members, Application Architecture Classes, CWinThread::SetThreadPriority, CWinThread::GetThreadPriority, CWinApp, CCmdTarget