Contents | Index | < Browse | Browse >

 WinType  MASK

 WinType lets you specify all the gadgets in the window.

 The MASK argument is a series of 8 numbers which can be 1 or 0
 Each number has the following meaning ( 1=Yes, 0=No )

 1st : Close Gadget
 2nd : DragBar
 3rd : Zoom Gadget
 4th : Depth arrangement Gadget
 5th : Borderless
 6th : Backdrop
 7th : Right Resize bar  - makes window resizable
 8th : Bottom Resize bar - makes window resizable

 example : 

 WinType 11110001

 - This is a standard window with Close,DragBar,Zoom and Depth gadgets
   since the first 4 numbers are "1". 
 - It is not Borderless or Backdrop, since the next 2 numbers are 0s.
 - It is resizable, having the resize gadget on the bottom border, since
   the 7th number is 0 and the 8th is 1.

 Note that if you want a borderless window, you should give "" as the
 window title, otherwise the title (and part of the window bar) will
 be shown.

 Resizing is usually proportional, but you can controll how each
 gadget should resize itself through the  Resize  attribute.