Unit 'workbench' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

TIconSelectMsg

The message your icon selection change hook is invoked with.

Declaration

Source position: workbench.pas line 356

type TIconSelectMsg = record

  ism_Length: LongWord;

  

Size of this data structure (in bytes).

  ism_Drawer: LongInt;

  

Lock on the drawer this object resides in, nil for Workbench backdrop (devices).

  ism_Name: PChar;

  

Name of the object in question.

  ism_Type: Word;

  

One of WBDISK, WBDRAWER, WBTOOL, WBPROJECT, WBGARBAGE, WBDEVICE or WBKICK.

  ism_Selected: WordBool;

  

True if currently selected, False otherwise.

  ism_Tags: PTagItem;

  

Pointer to the list of tag items passed to ChangeWorkbenchSelectionA().

  ism_DrawerWindow: PWindow;

  

Pointer to the window attached to this icon, if the icon is a drawer-like object.

  ism_ParentWindow: PWindow;

  

Pointer to the window the icon resides in.

  ism_Left: SmallInt;

  

Position and size of the icon; note that the

  ism_Top: SmallInt;

  

icon may not entirely reside within the visible

  ism_Width: SmallInt;

  

bounds of the parent window.

  ism_Height: SmallInt;

  

end;


Documentation generated on: 2021-07-30