|
|
User login
Feeds |
Get data from system clipboard
|
|||||
| Thu, 2003-12-04 16:57 | |
|
Hi friends,
Now i am going to get some data from system clipboard, probably strings/TDes, and not using controls like EDWIN or something else. I have seen the sdk about clipboard, its main meaning is getting a stream id by TStreamId stid = (cb->StreamDictionary()).At(KExampleClipUid); where cb is created by cb=CClipboard::NewForReadingL(fsSession); very curious, it seems any data in clipboard is stored by an pair of UID and StreamID, thats understandable that the system should find a specific data entryby its UID, but how can i get the data by the UID[in the example above, how can i know which uid i am finding?], the example Symbian give us is to copy a custom data into system clipboard with a custom UID, and then paste it out with the same one. Now what i wanna do is to get the string that is copied to clipboard already, just like the user copied a string to clipboard in SMS editor, and then i can get that in my application. I would be so appreciated if someone help ![]() Thanks in advance. |
|