SET EDIT OBJECT activates an edit object, i.e. the cursor will be drawn in object <obj> and deleted from any previously active object.
Declaration:
WORD wdlg_set_edit( DIALOG *dialog, WORD obj );
Call:
edit_obj = wdlg_set_edit( dialog, new_edit_obj );
Variable Argument Meaning
Inputs:
contrl[0] 165 wdlg_set
contrl[1] 2 Entries in intin
contrl[3] 1 Entries in addrin
intin[0] 0 wdlg_set_edit
intin[1] obj Number of the new edit object
(or 0, if none is to be active)
addrin[0] dialog Pointer to the dialog structure
Outputs:
contrl[2] 1 Entries in intout
contrl[4] 0 Entries in addrout
intout[0] edit_obj Number of the current edit object