Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



How to copy and paste real numbers

The CClipBoard class provides special support for copying and pasting a TReal to and from the clipboard.

CopyToL(TReal) puts a TReal onto the clipboard while PasteFromL(TReal&) fetches a TReal from the clipboard, if there is one.

Applications that use these functions to copy and paste TReal objects need not concern themselves with the UID used to identify the corresponding stream in the clipboard store.

It should be noted that applications which use CopyToL(TReal), must still call CClipboard's CommitL() member function before deleting the CClipboard object.