| Home
| Previous
| Next
| Up

MGL_wmSetWindowFlags

Sets flags affecting window's behavior.

Declaration

void MGLAPI MGL_wmSetWindowFlags(
window_t *wnd,
long flags)

Prototype In

mgraph.h

Parameters

wnd | the window
flags | combination of flags defined in MGL_wmWindowFlags enum

Description

This function is usually called immediately after creating a window to define its behavior. Flags may be 0 (the default) or any or-combination of possible flags.

This function may be called several times, MGL WM will update the window as neccessary (for example, you may call MGL_wmSetWindowFlags(wnd, MGL_WM_ALWAYS_ON_TOP) and later MGL_wmSetWindowFlags(wnd, 0) to disable the behavior).

See Also

MGL_wmGetWindowFlags, MGL_wmCreateWindow

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