Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (63 user(s) are browsing Forums)

Members: 1
Guests: 100

skynet, more...

Headlines

 
  Register To Post  

Clipboard coding example
Supreme Council
Supreme Council


See User information
Hello.

I'm trying to figure out how to use the clipboard in AmigaOS4.

Could someone provide me with a complete C example where some text is added to the clipboard and some text is read from the clipboard?

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: Clipboard coding example
Amigans Defender
Amigans Defender


See User information
@orgin

There's one in the RKRMs under iffparse.

Go to top
Re: Clipboard coding example
Just can't stay away
Just can't stay away


See User information
@orgin

Quote:
Could someone provide me with a complete C example where some text is added to the clipboard and some text is read from the clipboard?
For example the Pasteboard::writeSelection() (copies an UTF-8, charset = 106, text to the clipboard) and Pasteboard::plainText() (reads text in UTF-8, ISO-8859-1 or US-ASCII from the clipboard) functions of OWB in http://www.sand-labs.org/owb/browser/ ... /BCPasteboardAmigaOS4.cpp

They copy from/to the 16 bit unicode String class, but that's easy to change.

Go to top
Re: Clipboard coding example
Supreme Council
Supreme Council


See User information
@Chris&joerg

Oki thanks, I'll have a look.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project