HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Mouse ClassesClassesClasses | | | Operators

get_mshapeget_mshapeget_mshapeGetMshapeGetMshape (Operator)

Name

get_mshapeget_mshapeget_mshapeGetMshapeGetMshape — Query the current mouse pointer shape.

Signature

get_mshape( : : WindowHandle : Cursor)

Herror get_mshape(const Hlong WindowHandle, char* Cursor)

Herror T_get_mshape(const Htuple WindowHandle, Htuple* Cursor)

Herror get_mshape(const HTuple& WindowHandle, char* Cursor)

HTuple HWindow::GetMshape() const

void HOperatorSetX.GetMshape(
[in] VARIANT WindowHandle, [out] VARIANT* Cursor)

BSTR HWindowX.GetMshape()

static void HOperatorSet.GetMshape(HTuple windowHandle, out HTuple cursor)

string HWindow.GetMshape()

Description

get_mshapeget_mshapeget_mshapeGetMshapeGetMshape returns the name of the pointer shape set for the window. The mouse pointer shape can be used in the operator set_mshapeset_mshapeset_mshapeSetMshapeSetMshape.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window identifier.

CursorCursorCursorCursorcursor (output_control)  string HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Mouse pointer name.

Result

get_mshapeget_mshapeget_mshapeGetMshapeGetMshape returns the value 2 (H_MSG_TRUE).

Possible Predecessors

open_windowopen_windowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow, query_mshapequery_mshapequery_mshapeQueryMshapeQueryMshape

Possible Successors

set_mshapeset_mshapeset_mshapeSetMshapeSetMshape

See also

set_mshapeset_mshapeset_mshapeSetMshapeSetMshape, query_mshapequery_mshapequery_mshapeQueryMshapeQueryMshape

Module

Foundation


Table of Contents / Graphics / Mouse ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH