| Microsoft DirectX 8.1 (C++) | 
The InactivateWindow method inactivates the window. In the base class, this method hides the window.
Syntax
virtual HRESULT InactivateWindow(void);
Return Value
Returns one of the HRESULT values shown in the following table.
| Value | Description | 
| S_OK | Success. | 
| S_FALSE | Window is already inactive. | 
See Also