Herror ::set_mshape (
    const HTuple &WindowHandle,
    const HTuple &Cursor
)
void HWindow::SetMshape (
    const HTuple &Cursor
) const

Set the current mouse pointer shape.

::set_mshape sets the shape of the mouse pointer for the window. A list of the names of all available mouse pointer shapes can be obtained by calling ::query_mshape. The mouse pointer shape given by Cursor is used if the mouse pointer enters the window, irrespective of which window is the output window at present.


Parameters

WindowHandle (input_control)
window -> HTuple.long
Window identifier.

Cursor (input_control)
string -> HTuple.char *
Mouse pointer name.
Default value: 'arrow'


Result

::set_mshape returns the value H_MSG_TRUE if the mouse pointer shape Cursor is defined for this window. Otherwise, an exception handling is raised.


Possible Predecessors

::open_window, ::open_textwindow, ::query_mshape, ::get_mshape


See also

::get_mshape, ::query_mshape


Module

System



Copyright © 1996-2002 MVTec Software GmbH