INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Cursor 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_CURSOR_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature -- Access

DestroyCursor (hcursor: INTEGER)
-- The 'DestroyCursor' function destroys a cursor and frees 
-- any memory the cursor occupied. Do not use this function
-- to destroy a shared cursor.

GetCursor: INTEGER
-- The 'GetCursor' function retrieves the handle of the current cursor.

GetCursorPos (lppoint: POINTER)
-- The 'GetCursorPos' procedure retrieves the cursor's position,
-- in screen coordinates.
require
correct_lppoint: lppoint /= default_pointer

LoadCursor (hinst: INTEGER; lpszcursor: INTEGER): INTEGER
-- The 'LoadCursor' function loads the specified cursor resource from
-- the executable (.EXE) file associated with an application instance.

LoadCursorP (hinst: INTEGER; lpszcursor: POINTER): INTEGER
-- The 'LoadCursorP' function loads the specified cursor resource from
-- the executable (.EXE) file associated with an application instance.
require
correct_lpszcursor: lpszcursor /= default_pointer

SetCursor (hcur: INTEGER): INTEGER
-- The 'SetCursor' function establishes the cursor shape.

SetCursorPos (x, y: INTEGER)
-- The 'SetCursorPos' procedure moves the cursor to the specified screen
-- coordinates. If the new coordinates are not within the screen rectangle
-- set by the most recent 'ClipCursor' function, Windows automatically
-- adjusts the coordinates so that the cursor stays within the rectangle.

ShowCursor (bshow: INTEGER): INTEGER
-- The 'ShowCursor' function displays or hides the cursor.
feature -- Implementation

wDestroyCursor (hcursor: INTEGER): INTEGER

wGetCursorPos (lppoint: POINTER): INTEGER

wLoadCursor (hinst: INTEGER; lpszcursor: INTEGER): INTEGER

wSetCursorPos (x, y: INTEGER): INTEGER
end -- class WAPI_CURSOR_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES