Prev | Current Page 940 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

Table 18 - 1 details the possible window flags.
Table 18-1
Flag Description
WF_FULLSCREEN Sets the window to full screen. Any window decoration is removed.
WF_TRANSPARENT Shows the content of the window,that is, the Flash movie, without showing
any window decoration.
WF_DROPTARGET Activates the windows drop target feature, whereby any icons dropped
onto the window will fire a dropTarget event.
WF_PLAIN Produces a window with no decoration. The window is merely a rectangle
with a thin border.
WF_ALWAYS_ONTOP Forces the window to always appear above all other windows.
WF_NO_TASKBAR Hides the windows icon from the taskbar. Useful for dialogs.
The flags can be OR ??™ d together in order to combine several effects at once. For example, if you wish to
have a transparent window that is always on top and doesn ??™ t show in the taskbar, you can use the
following:
var window = new swhx.Window( ???Sample Application???, 200, 200,
swhx.Window.WF_TRANSPARENT |
swhx.Window.WF_ALWAYS_ONTOP |
swhx.Window.WF_NO_TASKBAR );
Part III: Extending the Possibilities
514
Window Properties
So, the flags help with the initial construction of a window, but numerous other window - based
capabilities can be switched on or off, or require some configuration in order to work.


Pages:
928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952