a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Static lib:
 reaction.lib
  --datasheet--
  BrowserNodesA
  ChooserLabelsA
  ClickTabsA
  FreeBrowserNodes
  FreeChooserLabels
  FreeClickTabs
  FreeRadioButtons
  GetAttrs
  GetCode
  LBAddNodeA
  LBEditNodeA
  LBRemNode
  LibDoGadgetMethodA
  OpenLayoutWindowTagList
  RadioButtonsA
Include
GuruMeditation
Docs » Autodocs » reaction.lib » GetCode

NAME

       GetCode -- return the true IDCMP message code

SYNOPSIS

       code = GetCode( imsg )
UWORD GetCode( struct IntuiMessage * )

FUNCTION

       Returns the true IntuiMessage code field. Layout.gadget replaces
the IDCMP_GADGETUP message with an IDCMP_IDCMPUPDATE. This function
will return the "gadgetup code" from the IDCMPUPDATE taglist if it
is found there, and otherwise the normal imsg->Code.

INPUTS

       imsg -- a pointer to an IntuiMessage

RESULT

       The message's code field

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Paradox

FLT
PDX
RSI
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se