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.
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 |
virtual BOOL InitInstance( );