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

GM_HITTEST

GadgetClass Method ID. Returns GMR_GADGETHIT if you are clicked on (whether or not you are disabled).

Declaration

Source position: intuition.pas line 2796

const GM_HITTEST = 0;

Description

This method is used to test, if a mouse-click hit the gadget. You return GMR_GADGETHIT, if you were hit and 0 otherwise. Note that you have to test, if you were hit, no matter if you are disabled or not.

See also

PgpHitTest

  

Pointer to Message parameter passed for GM_HITTEST or GM_HELPTEST

TgpHitTest

  

Message parameter passed for GM_HITTEST or GM_HELPTEST


Documentation generated on: 2021-07-30