writeclipboard - writing to the clipboard.
It takes one parameter of the type string, char, int, double .
Example:
Цитата:
writeclipboard ("bla bla bla");
writeclipboard (55656.5656);
char a = 'r';
writeclipboard (a);
int r = 2;
writeclipboard (r);
writeclipboard (55656.5656);
char a = 'r';
writeclipboard (a);
int r = 2;
writeclipboard (r);
The function returns -1 in case of failure and 1 if successful.
.....
readclipboard - read from the clipboard.
It takes one parameter string or a pointer to the array char .
Example:
Цитата:
string per;
readclipboard (per);
Writes text to the string from the buffer.
readclipboard (per);
Writes text to the string from the buffer.
c
Цитата:
char per [99];
readclipboard (# per [0]);
Writes to the char array what is in the buffer.
If the array char is more than the size of what is in the buffer, the last writeable byte into the array will be 0
readclipboard (# per [0]);
Writes to the char array what is in the buffer.
If the array char is more than the size of what is in the buffer, the last writeable byte into the array will be 0
The function returns -1 in case of failure or if the char array is less than the size of what is in the buffer.
or 1 if luck is written to string.
or the number of bytes on successful execution when writing to char.