1 2 3 4 5 6 7 8 | OpenClipboard(0); if(IsClipboardFormatAvailable(CF_UNICODETEXT)||IsClipboardFormatAvailable(CF_OEMTEXT)){ HANDLE hClipboard; hClipboard = GetClipboardData(CF_UNICODETEXT); wchar_t* data = (wchar_t*)GlobalLock(hClipboard); MessageBoxW(0,data,L"MessageBox",MB_OK); } CloseClipboard(); | cs |
'C&C++' 카테고리의 다른 글
"" , L"" , TEXT("") , _T("") (0) | 2018.06.15 |
---|---|
Using scanf() As gets() (0) | 2018.06.15 |
Parameter Split in WinMain (Argc, Argv) (0) | 2018.05.10 |
C++ WinSock Sample Code (0) | 2018.04.09 |
[MinGW] Using DLL and Compile Options (0) | 2018.04.09 |