CWinThread::InitInstance

Overridde this function to initialize each new instance of a user-interface thread. Typically, you override InitInstance to perform tasks that must be completed when a thread is first created.

This member function is used only in user-interface threads. Perform initialization of worker threads in the controlling function passed to AfxBeginThread.

Syntax

virtual BOOL InitInstance( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWinThread Overview, CWinThread Member Functions, Application Architecture Classes, CWinApp::InitInstance