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

tgpInput

Message parameter passed for GM_GOACTIVE or GM_HANDLEINPUT

Declaration

Source position: intuition.pas line 3294

type tgpInput = record

  MethodID: LongWord;

  

GM_GOACTIVE or GM_HANDLEINPUT

  gpi_GInfo: pGadgetInfo;

  

gadget context

  gpi_IEvent: pInputEvent;

  

Pointer to the InputEvent that caused the method to be invoked.

  gpi_Termination: Pointer;

  

Pointer to a variable that is to be set by the gadget class, if GMR_VERIFY is returned. The lower 16 bits of this value are returned in the Code field of the IntuiMessage passed back to the application

  gpi_Mouse: record

  

This struct defines the current mouse position, relative to the gadgets' bounding box.

    x: SmallInt;

  

    y: SmallInt;

  

  end;

  gpi_TabletData: pTabletData;

  

Pointer to TabletData structure or nil, if this input event did not originate from a tablet.

end;

Description

GM_GOACTIVE tells the gadget that it has become active and will receive input from now on from the method GM_HANDLEINPUT. This is stopped by using GM_GOINACTIVE.


Documentation generated on: 2021-07-30