dlg_done_positioned_dialog

dlg_done_positioned_dialog

int dlg_done_positioned_dialog (sds_hdlg handle, int message, int *xpos, int ypos);


Terminate the dialog box, but remember its position.


This function closes a dialog box and returns the x,y position, so that another dialog box can appear in the same location.

The handle argument is the name of the dialog box.

The following table summarizes the meaning indicated by the message argument:

Message Meaning
DLGOK User clicked OK button.
DLGCANCEL User clicked Cancel button.
DLGALLDONE Dialog box is mot active.
DLGSTATUS When status >=DLGSTATUS; the code was generated by an application.

The xpos argument returns the x-coordinate of the dialog box's lower-right corner; the ypos argument returns the x-coordinate. The origin (0,0) of the dialog box is at the upper-left corner.

This function returns RTNORM if successful, or else it returns an error code.

Tell me about...

dlg_action_tile

dlg_new_dialog

dlg_new_positioned_dialog

dlg_start_dialog

Programming Overview of SDS (Solutions Development System)