Graphisoft®

Dialog ManagerVersion: 2.0

DGSplitterMsgData

If the dialog callback function receives a DG_MSG_SPLITTERDRAG message, the msgData parameter is a pointer to a DGSplitterMsgData structure which contains information about the drag event of the splitter control.

    struct DGSplitterMsgData {
      short  subMessage;
      short  position;
    };

Members

subMessage
It can be one of the following values:
subMessage meaning
DG_SPL_DRAGSTART Dragging of the splitter control has just begun.
DG_SPL_DRAG The splitter control is being dragged.
DG_SPL_DRAGEND Dragging of the splitter control has been finished.
 
position
A new dialog-relative position of the splitter control according to the mouse pointer.

Remarks

When handling DG_MSG_SPLITTERDRAG messages, with DG_SPL_DRAG or DG_SPL_DRAGEND submessages, the application should layout the dialog items according to the new splitter position.

Requirements

Version: DG 2.2.0 or later
Header: DG.h

See Also

DG Structures, DG_MSG_SPLITTERDRAG