INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Clipboard Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_CLIPBOARD_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature -- Access

ChangeClipboardChain (hwndremove, hwndnext: INTEGER)
-- The 'ChangeClipboardChain' procedure removes a specified window
-- from the chain of clipboard viewers.
require
correct_hwndremove: hwndremove /= 0
correct_hwndnext: hwndnext /= 0

CloseClipboard
-- The 'CloseClipboard' procedure closes the clipboard.

EmptyClipboard
-- The 'EmptyClipboard' procedure empties the clipboard and frees handles
-- to data in the clipboard. The procedure then assigns ownership of the
-- clipboard to the window that currently has the clipboard open.

GetClipboardData (uformat: INTEGER): INTEGER
-- The 'GetClipboardData' function retrieves data from the clipboard
-- in a specified format. The clipboard must have been opened previously.

IsClipboardFormatAvailable (uformat: INTEGER): BOOLEAN
-- The 'IsClipboardFormatAvailable' procedure determines whether
-- the clipboard contains data in the specified format.

OpenClipboard (hwnd: INTEGER)
-- The 'OpenClipboard' procedure opens the clipboard for examination
-- and prevents other applications from modifying the clipboard content.

RegisterClipboardFormat (lpszformat: POINTER): INTEGER
-- The 'RegisterClipboardFormat' function registers a new clipboard format.
-- This format can then be used as a valid clipboard format.
require
correct_format: lpszformat /= default_pointer

SetClipboardData (uformat, hdata: INTEGER): INTEGER
-- The 'SetClipboardData' function places data on the clipboard
-- in a specified clipboard format. The window must be the current
-- clipboard owner, and the application must have called the
-- 'OpenClipboard' procedure. (When responding to the WM_RENDERFORMAT
-- and WM_RENDERALLFORMATS messages, the clipboard owner must not call
-- 'OpenClipboard' before calling 'SetClipboardData'.)

SetClipboardViewer (hwnd: INTEGER): INTEGER
-- The 'SetClipboardViewer' function adds the specified window
-- to the chain of clipboard viewers. Clipboard viewer windows receive
-- a WM_DRAWCLIPBOARD message whenever the content of the clipboard
-- changes.
require
correct_hwnd: hwnd /= null_

GetClipboardFormatName (format: INTEGER; lpszformatname: POINTER; cchmaxcount: INTEGER): INTEGER

EnumClipboardFormats (format: INTEGER): INTEGER
-- The EnumClipboardFormats function enumerates the data formats 
-- currently available on the clipboard
feature -- Implementation

wChangeClipboardChain (hwndremove, hwndnext: INTEGER): INTEGER

wCloseClipboard: INTEGER

wEmptyClipboard: INTEGER

wGetClipboardData (uformat: INTEGER): INTEGER

wIsClipboardFormatAvailable (uformat: INTEGER): INTEGER

wOpenClipboard (hwnd: INTEGER): INTEGER

wRegisterClipboardFormat (lpszformat: POINTER): INTEGER

wSetClipboardData (uformat, hdata: INTEGER): INTEGER

wSetClipboardViewer (hwnd: INTEGER): INTEGER
end -- class WAPI_CLIPBOARD_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES