OWLNext 7.0
Borland's Object Windows Library for the modern age
|
You can explicitly transfer data in either direction at any time.
For example, you might want to transfer data out of controls in a window or modeless dialog box. Or you might want to reset the state of the controls using the data in the transfer buffer in response to the user clicking a Reset or Revert button.
Use the TransferData member function in either case, passing the tdSetData enumeration to transfer from the transfer buffer to the controls or tdGetData to transfer from the controls to the transfer buffer. For example, you might want to call TransferData in the CloseWindow member function of a window object as follows: