Please enable JavaScript to view this site.

ESL Documentation

Function

Compose status values for function and subroutine calls that require them.

 

DDESetStatusFlag ( Status_IV, Flag_IV )

 

Status_IV is a DDE integer status value, which may already have encoded status flags.

Flag_IV is a DDE integer status constant.

Description

Called by client or server.  This function is used to compose status values for those function and subroutine calls that require them.

 

This function accepts a DDE status value and a DDE status constant.  It returns a new status value that encodes the status constant into the old value.

Example

response to HotLinkKey

   #get ConvID_IV

   copy "itemname" to ItemName_SV

   copy DDEFMT_TEXT to Format_SV

   # request acknowledgements and get notification only

   # (no data)

   copy DDESetStatusFlag(0, DDE_FNODATA) to Status_IV

   copy DDESetStatusFlag(Status_IV, DDE_FACKREQ) to Status_IV

   call DDEAdvise(ConvID_IV, ItemName_SV, Format_SV, Status_IV)