ClassesClassesClassesClasses | | | | Operators

set_mshapeset_mshapeSetMshapeset_mshapeSetMshapeSetMshape (Operator)

Name

set_mshapeset_mshapeSetMshapeset_mshapeSetMshapeSetMshape — Set the current mouse pointer shape.

Signature

set_mshape( : : WindowHandle, Cursor : )

Herror set_mshape(const Hlong WindowHandle, const char* Cursor)

Herror T_set_mshape(const Htuple WindowHandle, const Htuple Cursor)

Herror set_mshape(const HTuple& WindowHandle, const HTuple& Cursor)

void HWindow::SetMshape(const HTuple& Cursor) const

void SetMshape(const HTuple& WindowHandle, const HTuple& Cursor)

void HWindow::SetMshape(const HString& Cursor) const

void HWindow::SetMshape(const char* Cursor) const

void HOperatorSetX.SetMshape(
[in] VARIANT WindowHandle, [in] VARIANT Cursor)

void HWindowX.SetMshape([in] BSTR Cursor)

static void HOperatorSet.SetMshape(HTuple windowHandle, HTuple cursor)

void HWindow.SetMshape(string cursor)

Description

set_mshapeset_mshapeSetMshapeset_mshapeSetMshapeSetMshape 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_mshapequery_mshapeQueryMshapequery_mshapeQueryMshapeQueryMshape. The mouse pointer shape given by CursorCursorCursorCursorCursorcursor is used if the mouse pointer enters the window, irrespective of which window is the output window at present.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window identifier.

CursorCursorCursorCursorCursorcursor (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Mouse pointer name.

Default value: 'arrow' "arrow" "arrow" "arrow" "arrow" "arrow"

Result

set_mshapeset_mshapeSetMshapeset_mshapeSetMshapeSetMshape returns the value 2 (H_MSG_TRUE) if the mouse pointer shape CursorCursorCursorCursorCursorcursor is defined for this window. Otherwise, an exception is raised.

Possible Predecessors

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow, query_mshapequery_mshapeQueryMshapequery_mshapeQueryMshapeQueryMshape, get_mshapeget_mshapeGetMshapeget_mshapeGetMshapeGetMshape

See also

get_mshapeget_mshapeGetMshapeget_mshapeGetMshapeGetMshape, query_mshapequery_mshapeQueryMshapequery_mshapeQueryMshapeQueryMshape

Module

Foundation


ClassesClassesClassesClasses | | | | Operators