Microsoft DirectX 9.0


A video window is being activated or deactivated.



TRUE if the window is activated, or FALSE if the window is deactivated.


Pointer to the renderer's IBaseFilter interface.

Default Action

The filter graph manager sets the focus, through the IResourceManager interface. It does not send the event notification to the application.


A video renderer sends this event whenever its window is activated or deactivated (that is, when it receives a WM_ACTIVATEAPP message). Window activation or deactivation can occur because the window has gained or lost focus, or because the renderer has switched between full-screen mode and windowed mode.

This event enables the filter graph manager to allocate resources that depend on window focus, such as audio devices.

See Also