News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GetClipboardText

Started by 0x58, December 05, 2010, 05:50:04 PM

Previous topic - Next topic

0x58

hey all :bg well i know there could be a lot of exemples here but they just won't work or i'm the problem is me ::)
anyway i'm wondering if someone could give me an exemple of GetClipboardText mean gets the text in clipboard and put in in a buffer

that's a :p and thank's in advance :)

jj2007

Try this. For the non-Unicode version, just search the forum for GetClipboardData. If what you find still does not work, post your complete code, and somebody might be willing to help you.

Quoteinclude \masm32\MasmBasic\MasmBasic.inc
   Init
   wMsgBox 0, wClip$(), wChr$("Hello, there is Unicode on the clipboard:"), MB_OK
   Exit
end start