Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

tNewWindow

New window structure

Declaration

Source position: intuition.pas line 1353

type tNewWindow = record

  LeftEdge: SmallInt;

  

Left edge of window

  TopEdge: SmallInt;

  

Top edge of window

  Width: SmallInt;

  

Width of window

  Height: SmallInt;

  

Height of window

  DetailPen: Byte;

  

For bar/border/gadget rendering

  BlockPen: Byte;

  

For bar/border/gadget rendering

  IDCMPFlags: LongWord;

  

User-selected IDCMP flags (IDCMP_*)

  Flags: LongWord;

  

Window Flags (WFLG_*)

  FirstGadget: pGadget;

  

You supply a linked-list of Gadgets for your Window. This list does not include system Gadgets.

  CheckMark: pImage;

  

A Pointer to the imagery that will be used when rendering MenuItems of this Window that want to be checkmarked if this is equal to nil, you'll get the default imagery

  Title: PChar;

  

The title text for this window

  Screen: Pointer;

  

Only if you've defined a CUSTOMSCREEN and want this Window to open in it. If so, you pass the Pointer of the Custom Screen structure in this variable. Otherwise, this variable is ignored and doesn't have to be initialized.

  BitMap: pBitMap;

  

SUPER_BITMAP Window? If so, put the Pointer of your BitMap structure in this variable. If not, this variable is ignored and doesn't have to be initialized

  MinWidth: SmallInt;

  

Minimum / maximum size of your window, only if WFLG_SIZEGADGET is set,

  MinHeight: SmallInt;

  

if MinWidth/Height = 0 then its set to the opening size.

  MaxWidth: SmallInt;

  

  MaxHeight: SmallInt;

  

  WType: Word;

  

Describes the Screen in which you want this Window to open. The type value can either be CUSTOMSCREEN_f or one of the system standard Screen Types such as WBENCHSCREEN_f. See the type definitions under the Screen structure

end;

See also

OpenWindow

  

Open an Intuition window.

OpenWindowTagList

  

OpenWindow() with TagItem extension.


Documentation generated on: 2021-07-30