void ddlSetChangeCb( CONTROL *ctl, void (*UserChange)(), WtCastPtr UserWord)
Description:
Posts a callback to allow the user to make dynamic changes to records being
written or rewritten by the ddlWrite() and ddlChange() functions. This is
especially useful since the record number is available in the callback.
ddlSetChangeCb(ctl,0,UserWord) results in the change callback being turned off.
Currently used by:
ddlChange()
ddlWrite()
Callback Description:
The prototype for the change callback is:
void __stdcall UserChange(WtCastPtr UserWord,char *dgname,char
*image,long recno);
where UserWord is the ddlSetChangeCb() parameter;
dgname is the ASCII table name of image;
image is the record image in the database
(not the RD image);
recno is the 1-relative record number;
The VB compatible form of this command is not defined.
Copyright © 2019 , WhamTech, Inc. All rights reserved. This
document is provided for information purposes only and the contents hereof are
subject to change without notice. Names may be
trademarks of their respective owners.