CBaseControlWindow::SetWindowForeground
Moves the video window to the foreground and optionally gives it focus.
HRESULT SetWindowForeground(
long Focus);
Parameters
- Focus
Value that specifies whether the video window will get focus. A value of –1 gives the window focus and 0 does not.
Return Values
Returns one of the following values.
| NOERROR | The method succeeded. |
| E_INVALIDARG | Focus doesn't equal –1 or 0. |
| VFW_E_NOT_CONNECTED | The current filter isn't connected to a complete filter graph. |
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.