DynaControl
The DynaControl class provided methods and properties to dynamically generate a variety of types of user specified interface controls, for example, edit box, combo box, check box, radio button. Values stored in one tree node object and display on dialog as tree structure.
Control.h
Name | Brief | Example |
---|---|---|
AbjustFocusToSave | Checks and resets focus, so that saving of control data is forced. Should be called if Dynacontrol is hidden for some reason and another control to view the same tree is made visible/active. | |
CreateControl | Creates a control using the holder attributes, destroys the holder window | |
DynaControl | Default constructor | |
GetActiveTreeNode | ||
GetChild | Attaches to a child DynaControl in a TreeDlg, containing multiple DynaControl's. | |
GetCollapsed | Gets the collapsed state of the branches from top to bottom in the control. | |
GetOptimalSize | Returns the optimal size of the control. | |
GetTreeNode | ||
InvokeHandlers | Invokes all handlers associated with the control | |
OnChangeDataset | Must be called from owner container on active dataset change, for certain controls to function properly | |
OnChangeLayer | Must be called from owner container on active layer change, for certain controls to function properly | |
OnChangePage | Must be called from owner container on active page change, for certain controls to function properly | |
OnDSMarkerCreate | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnDSMarkerDestroy | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnDSSelectionCancelEx | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnDSSelectionCancel | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnDSSelectionChangeEx | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnDSSelectionOkEx | Must be called from owner container on selection change, for certain controls o function properly | |
OnDSSelectionOk | Must be called from owner container on selection change, for certain controls o function properly | |
OnDSSelectionTrackEx | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
OnSelectionChange | Must be called from owner container on selection change, for certain controls to function properly | |
OnSelectionTrack | Must be called from owner container on selection tracking messages, for certain controls o function properly | |
Reset | Resets the tree to the control | |
SetCollapsed | Sets the collapsed state of the branches from top to bottom in the control. | |
SetEventCallback | Associates a global event with the control, which is called when a particular node does not have an associated event | |
SetTree | Associates a TreeNode with the control, which is then used to generate the child controls and instatiate event handlers | |
Update | Updates the control, call this member function, when the Tree has changed show/hide. enable/disable, control value and other control properties to update the control to reflect those changes. |
Name | Brief | Example |
---|---|---|
bInvokeEvents |