CWinThread::InitInstance

Override this method 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 method is used only in user-interface threads. Perform initialization of worker threads in the controlling method passed to AfxBeginThread.

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

Syntax

virtual BOOL InitInstance( );

See Also

CWinApp::InitInstance