a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 amigaguide.library
  --background--
  --rexxhost--
  AddAmigaGuideHostA
  AmigaGuideSignal
  CloseAmigaGuide
  GetAmigaGuideAttr
  GetAmigaGuideMsg
  GetAmigaGuideString
  LockAmigaGuideBase
  OpenAmigaGuideA
  OpenAmigaGuideAsyncA
  RemoveAmigaGuideHostA
  ReplyAmigaGuideMsg
  SendAmigaGuideCmdA
  SendAmigaGuideContextA
  SetAmigaGuideAttrsA
  SetAmigaGuideContextA
  UnlockAmigaGuideBase
Include
GuruMeditation
Docs » Autodocs » amigaguide.library » SendAmigaGuideContextA

NAME

        SendAmigaGuideContextA - Align an AmigaGuide system on the context ID
.
(V34)

SYNOPSIS

        success = SendAmigaGuideContextA (handle, attrs);
d0 a0 d0
BOOL SendAmigaGuideContextA (AMIGAGUIDECONTEXT, struct TagItem *);
success = SendAmigaGuideContext (handle, tag1, ...);
BOOL SendAmigaGuideContext (AMIGAGUIDECONTEXT, Tag, ...);

FUNCTION

        This function is used to send a message to an AmigaGuide system to
align it on the current context ID.
This function effectively does a:
SendAmigaGuideCmd(handle 'LINK ContextArray[contextID]', NULL);

INPUTS

        handle - Handle to an AmigaGuide system.
future - Future expansion, must be set to NULL for now.

EXAMPLE

        struct IntuiMessage *imsg;
...
case RAWKEY:
switch (imsg->Code)
{
case 95:
/* bring up help on a particular subject */
SendAmigaGuideContext(handle, NULL);
break;
...
}
break;
...

RESULT

        success -- Returns TRUE if the message was sent, otherwise returns
FALSE.

SEE ALSO

SetAmigaGuideContextA(), SendAmigaGuideCmdA()

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:

Anarchy

HZ
RSI
ANA
TRSI

Comments:

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