MGL_getFullScreenWindow

Returns the current fullscreen window handle.

Declaration

MGL_HWND MGLAPI MGL_getFullScreenWindow(void)

Prototype In

mglwin.h

Return Value

Current fullscreen window handle.

Description

This function returns the handle to the current fullscreen window. When you are running in fullscreen modes under Windows, MGL always maintains a fullscreen, topmost window that is used for event handling.

If you are using the DirectSound libraries for sound output, you will need to inform DirectSound what your fullscreen window is so that it can correctly mute the sound for your application when the focus is lost to another application. If you do not do this, when you switch to fullscreen modes all sound output via DirectSound will be muted (assuming your are requesting exclusive mode).

See Also

MGL_registerEventProc

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com