Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
InitInstance must be overridden to initialize each new instance of a user-interface thread.
virtual BOOL InitInstance( );
Return Value
Nonzero if initialization is successful; otherwise 0.
Remarks
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.
Requirements
Header: afxwin.h