OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Supporting Transfer For Customized Controls

You can modify the way a particular control transfers its data or include a new control you define in the transfer mechanism.

In either case, all you need to do is to write a Transfer member function for your control object. See the following table to interpret the meaning of the transfer flag parameter.

Transfer flag parameterDescription
tdGetDataCopy data from the control to the location specified by the supplied pointer. Return the number of bytes transferred.
tdSetDataCopy the data from the transfer buffer at the supplied pointer to the control. Return the number of bytes transferred.
tdSizeDataReturn the number of bytes that would be transferred.

See Also