gui_winattr
Returns or sets the GUI window attribute mask for the specified window.
Available in:
Apps (win) |
Apps (char) |
Reportwriter |
RPC |
Standalone PL |
X |
X |
|
|
|
Syntax
int gui_winattr(window_id[,attributes]))
int window_id
int attributes
Description
The window_id parameter is the window sequence number which can be
determined by using window_seq(window_name). The attributes
parameter is the new attribute mask for the window. These valus are
defined in dv.h. The current attribute is always returned.
The gui_winattr() call must be made before the target window is opened.
Notes
The gui_winattr() attributes are not the same as the
window_attr() attributes.
Example
To make a window a popup:
gui_winattr(0,0x2 | gui_winattr(0));