CWinThread Member Functions

Construction
CWinThread Constructs a CWinThread object.
CreateThread Starts execution of a CWinThread object.

Operations
GetMainWnd Retrieves a pointer to the main window for the thread.
GetThreadPriority Gets the priority of the current thread.
ResumeThread Decrements a thread's suspend count.
SetThreadPriority Sets the priority of the current thread.
SuspendThread Increments a thread's suspend count.

Overridables
ExitInstance Override to clean up when your thread terminates.
InitInstance Override to perform thread instance initialization.
OnIdle Override to perform thread-specific idle-time processing.
PreTranslateMessage Filters messages before they are dispatched to the Windows functions TranslateMessage and DispatchMessage.
IsIdleMessage Checks for special messages.
ProcessWndProcException Intercepts all unhandled exceptions thrown by the thread's message and command handlers.
ProcessMessageFilter Intercepts certain messages before they reach the application.
Run Controlling function for threads with a message pump. Override to customize the default message loop.

See Also

CWinThread Overview, CWinThread Data Members, Application Architecture Classes