Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>emptyclipboard()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EmptyClipboard()
Empty the clipboard and become its owner
------------------------------------------------------------------------------

Syntax
EmptyClipboard()   -->   lSuccess

Arguments
None.

Returns
If successful, a logical TRUE (.T.) is returned, otherwise
FALSE (.F.) is returned.

Description
This function empties the Windows clipboard, and sets the
owner to the window that currently has the clipboard open.

Example
if OpenClipboard( hWnd )
     EmptyClipboard()
     SetClipbData( CF_TEXT, "Some textual data or other" )
     CloseClipboard()
else
     MessageBox( , "Clipboard not available", "Info", MB_OK )
endif


See Also: CloseClipboard() OpenClipboard() SetClipbData()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson