a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 commodities.library
  ActivateCxObj
  AddIEvents
  AttachCxObj
  ClearCxObjError
  CreateCxObj
  CxBroker
  CxMsgData
  CxMsgID
  CxMsgType
  CxObjError
  CxObjType
  DeleteCxObj
  DeleteCxObjAll
  DisposeCxMsg
  DivertCxMsg
  EnqueueCxObj
  InsertCxObj
  InvertKeyMap
  MatchIX
  ParseIX
  RemoveCxObj
  RouteCxMsg
  SetCxObjPri
  SetFilter
  SetFilterIX
  SetTranslate
Include
GuruMeditation
Docs » Autodocs » commodities.library » SetCxObjPri

NAME

	SetCxObjPri -- set the priority of a commodity object. (V36)

SYNOPSIS

	oldPri = SetCxObjPri(co,pri)
D0 A0 D0
LONG SetCxObjPri(CxObj *,LONG);

FUNCTION

	This function sets the priority of a commodity object for the
purposes of EnqueueCxObj().
It is strongly recommended that the ToolTypes environment be
utilized to provide end-user control over the priority of
brokers, but application specific ordering of other objects
within their lists is not dictated.

INPUTS

	co - the commodity object to affect (may be NULL)
pri - the object's new priority in the range -128 to +127. A value
of 0 is normal.

RESULT

	oldPri - the previous priority of the object or 0 if 'co' was NULL.
This value is only returned in V38 and beyond.

BUGS

	This function will not reposition an object within its list when
its priority changes. To attain the same effect, first remove the
object from its list using RemoveCxObj(), set its priority using
SetCxObjPri(), and reinsert it in the list using EnqueueCxObj().

SEE ALSO

EnqueueCxObj()

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:

Abyss

AYS
TBL
TRSI
SNT

Comments:

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