Clipboard wrapper.
Public Member Functions | |
| Clipboard (bool bOpen=true) | |
| Constructor, optionally opens the clipboard. More... | |
| virtual | ~Clipboard () |
| bool | OpenClipboard () |
| Opens the clipboard. More... | |
| bool | CloseClipboard () |
| void | EmptyClipboard () |
| int | GetPriorityClipboardFormat () const |
| SIZE_T | GetClipboardDataSize () |
| bool | ClipboardDataReadLock (HANDLE &hClipData, LPVOID &pLock, SIZE_T &iDataSize, int &iClipFormat) |
| bool | ClipboardDataReadUnlock (HANDLE &hClipData) |
| bool | GetClipboardData (PVOID pBuffer, SIZE_T &iBufLen) |
| BOOL | SetClipboardData (INT Type, LPVOID pBuffer, SIZE_T iBufLen) |
| bool | SetClipboardText (const ni::cchar *aaszText, int len=-1) |
| bool | SetClipboardText (const ni::uchar *aaszText, int len=-1) |
| bool | GetClipboardText (ni::cString &astrOut) |
Protected Attributes | |
| bool | m_bClipOpened |
| Clipboard | ( | bool | bOpen = true | ) |
Constructor, optionally opens the clipboard.
| bOpen | If true, clipboard is automatically opened |
|
virtual |
| bool OpenClipboard | ( | ) |
| bool CloseClipboard | ( | ) |
| void EmptyClipboard | ( | ) |
| int GetPriorityClipboardFormat | ( | ) | const |
| SIZE_T GetClipboardDataSize | ( | ) |
| bool ClipboardDataReadLock | ( | HANDLE & | hClipData, |
| LPVOID & | pLock, | ||
| SIZE_T & | iDataSize, | ||
| int & | iClipFormat | ||
| ) |
| bool ClipboardDataReadUnlock | ( | HANDLE & | hClipData | ) |
| bool GetClipboardData | ( | PVOID | pBuffer, |
| SIZE_T & | iBufLen | ||
| ) |
| BOOL SetClipboardData | ( | INT | Type, |
| LPVOID | pBuffer, | ||
| SIZE_T | iBufLen | ||
| ) |
| bool SetClipboardText | ( | const ni::cchar * | aaszText, |
| int | len = -1 |
||
| ) |
| bool SetClipboardText | ( | const ni::uchar * | aaszText, |
| int | len = -1 |
||
| ) |
| bool GetClipboardText | ( | ni::cString & | astrOut | ) |
|
protected |
1.8.7