These boolean window tags are alternatives to the newwindow.flags bit fields with similar names. Unlike the tags discussed above, the ti_Data field of these tagitems is set to either true or false. WA_SizeGadget Specifying this flag tells Intuition to add a sizing gadget to the window. Intuition places the sizing gadget in the lower right corner of the window. By default, the right border is adjusted to accommodate the sizing gadget, but the application can specify one of the following two flags to change this behavior. The WFLG_SIZEBRIGHT flag puts the sizing gadget in the right border. The WFLG_SIZEBBOTTOM flag puts the sizing gadget in the bottom border. Both flags may be specified, placing the gadget in both borders. Equivalent to newwindow.flags wflg_sizegadget. WA_SizeBRight Place the size gadget in the right border. Equivalent to newwindow.flags wflg_sizebright. WA_SizeBBottom Place the size gadget in the bottom border. Equivalent to newwindow.flags wflg_sizebbottom. WA_DragBar This flag turns the entire title bar of the window into a drag gadget, allowing the user to position the window by clicking in the title bar and dragging the mouse. Equivalent to newwindow.flags WFLG_DRAGBAR. WA_DepthGadget Setting this flag adds a depth gadget to the window. This allows the user to change the window's depth arrangement with respect to other windows on the screen. Intuition places the depth gadget in the upper right corner of the window. Equivalent to newwindow.flags WFLG_DEPTHGADGET. WA_CloseGadget Setting this flag attaches a close gadget to the window. When the user selects this gadget, Intuition transmits a message to the application. It is up to the application to close the window with a closewindow() call. intuition places the close gadget in the upper left corner of the window. Equivalent to newwindow.flags WFLG_CLOSEGADGET. WA_ReportMouse Send mouse movement events to the window as x,y coordinates. Also see the description of the IDCMP flag idcmp_mousemove, in the chapter "Intuition Input and Output Methods." Equivalent to newwindow.flags WFLG_REPORTMOUSE. The WFLG_REPORTMOUSE flag in the Flags field of the window structure may be modified on the fly by the program. Changing this flag must be done as an atomic operation. Most compilers generate atomic code for operations such as window->flags |= WFLG_REPORTMOUSE or window->flags &= ~WFLG_REPORTMOUSE. If you are unsure of getting an atomic operation from your compiler, you may wish to do this operation in assembler, or bracket the code with a forbid()/permit() pair. The use of the reportmouse() function is strongly discouraged, due to historic confusion over the parameter ordering. WA_NoCareRefresh This window does not want idcmp_refreshwindow events. set this flag to prevent the window from receiving refresh window messages. Equivalent to newwindow.flags wflg_nocarerefresh. intuition will manage beginrefresh() and endrefresh() internally. WA_Borderless Open a window with no borders rendered by Intuition. Equivalent to newwindow.flags wflg_borderless. Use caution setting this flag, as it may cause visual confusion on the screen. Also, some borders may be rendered if any of the system gadgets are requested, if text is supplied for the window's title bar, or if any of application gadgets are in the borders. WA_Backdrop Make this window a backdrop window. equivalent to newwindow.flags WFLG_BACKDROP. WA_GimmeZeroZero Set this tag to create a gimmezerozero window. gimmezerozero windows have the window border and border gadgets rendered into an extra layer. This extra layer slows down window operations, thus it is recommended that applications only use GimmeZeroZero windows when they are required. For clipping graphics to the area within the borders of a window, see the discussion of "regions" in the "layers Library" chapter. Equivalent to newwindow.flags wflg_gimmezerozero. WA_Activate Activate the window when it opens. Equivalent to newwindow.flags WFLG_ACTIVATE. Use this flag carefully, as it can change where the user's input is going. WA_RMBTrap Catch right mouse button events for application use. Set this flag to disable menu operations for the window. When set, right mouse button events will be received as idcmp_mousebuttons with the menuup and MENUDOWN qualifiers. Equivalent to newwindow.flags wflg_rmbtrap. The WFLG_RMBTRAP flag in the window structure flags field may be modified on the fly by the program. Changing this flag must be done as an atomic operation, as Intuition can preempt a multistep set or clear operation. An atomic operation can be done in assembler, using 68000 instructions that operate directly on memory. If you are unsure of generating such an instruction, place the operation within a forbid()/permit() pair. this will ensure proper operation by disabling multitasking while the flag is being changed. WA_SimpleRefresh The application program takes complete responsibility for updating the window. Only specify if TRUE. Equivalent to newwindow.flags WFLG_SIMPLE_REFRESH. WA_SmartRefresh Intuition handles all window updating, except for parts of the window revealed when the window is sized larger. Only specify if TRUE. Equivalent to newwindow.flags wflg_smart_refresh. WA_SmartRefresh windows without a sizing gadget will never receive refresh events due to the user sizing the window. However, if the application sizes the window through a call like changewindowbox(), zipwindow() or sizewindow(), a refresh event may be generated. use WA_NoCareRefresh to disable refresh events. WA_SuperBitMap This is a pointer to a bitmap structure for a superbitmap window. the application will be allocating and maintaining its own bitmap. Equivalent to newwindow.bitmap. setting this tag implies the WFLG_SUPER_BITMAP property. For complete information about SuperBitMap, see "setting up a superbitmap window" in this chapter. WA_AutoAdjust Allow Intuition to change the window's position and dimensions in order to fit it on screen. The window's position is adjusted first, then the size. This property may be especially important when using wa_innerwidth and wa_innerheight as border size depends on a user specified font. WA_MenuHelp (new for V37, ignored by V36) Enables idcmp_menuhelp: pressing help during menus will return IDCMP_MENUHELP message. See the "intuition menus" chapter for more information. WA_Flags Multiple initialization of window flags, equivalent to newwindow.flags. use the wflg_ constants to initialize this field, multiple bits may be set by ORing the values together. WA_BackFill Allows you to specify a backfill hook for your window's layer. See the description of createupfronthooklayer() in the "includes and Autodocs" manual. Note that this tag is implemented in V37, contrary to what some versions of the include files may say.