Herror ::set_tshape (
    const HTuple &WindowHandle,
    const HTuple &TextCursor
)
void HWindow::SetTshape (
    const HTuple &TextCursor
) const

Set the shape of the text cursor.

::set_tshape sets the shape and the display mode of the text cursor of the output window.

A text cursor marks the current position for text output. It is different from the mouse cursor (although both will be called 'cursor', if the context makes misconceptions impossible). The available shapes for the text cursor can be queried with ::query_tshape.


Parameters

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

TextCursor (input_control)
string -> HTuple.char *
Name of cursor shape.
Default value: 'invisible'


Result

::get_tshape returns H_MSG_TRUE if the window is valid and the given cursor shape is defined for this window. Otherwise an exception handling is raised.


Possible Predecessors

::open_window, ::open_textwindow, ::query_tshape, ::get_tshape


Possible Successors

::write_string, ::read_string


See also

::get_tshape, ::query_tshape, ::write_string, ::read_string


Module

System



Copyright © 1996-2002 MVTec Software GmbH