Microsoft Windows CE 3.0  

CBaseWindow::DoneWithWindow

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Destroys the window and its worker thread.

virtual HRESULT DoneWithWindow( );

Return Values

Returns an HRESULTvalue. Current implementation returns NOERROR.

Remarks

The base window class creates a window and a worker thread. The worker thread is responsible for pulling messages from the window's input queue and dispatching them as appropriate. The window and its thread are created by CBaseWindow::PrepareWindowand destroyed by CBaseWindow::DoneWithWindow. The window should also be initialized using CBaseWindow::InitialiseWindowand uninitialized using CBaseWindow::UninitialiseWindow. Having prepared a window and initialized it, the window can be sized using CBaseWindow::ActivateWindowand subsequently hidden using CBaseWindow::InactivateWindow.