set_mshapeT_set_mshapeSetMshapeSetMshape (Operator)

Name

set_mshapeT_set_mshapeSetMshapeSetMshape — Setzen der Mauscursor Form.

Warnung

Dieser Operator kann nicht in HDevelop-Grafikfenstern verwendet werden, die mit dev_open_window geöffnet wurden.

Signatur

set_mshape( : : WindowHandle, Cursor : )

Herror T_set_mshape(const Htuple WindowHandle, const Htuple Cursor)

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

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

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

void HWindow::SetMshape(const wchar_t* Cursor) const   (Nur Windows)

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

void HWindow.SetMshape(string cursor)

Beschreibung

set_mshapeset_mshapeSetMshapeSetMshapeSetMshape setzt das Muster, das für den Mauscursor des Ausgabefensters verwendet werden soll. Unter Mauscursor (im Gegensatz zu Textcursor; beide werden einfach als CursorCursorCursorCursorcursor bezeichnet, wenn Missverständnisse ausgeschlossen sind) wird hier das Muster verstanden, das auf dem Bildschirm bei einer Bewegung der Maus dargestellt wird. Ein Tupel aller verfügbaren Muster kann mit dem Operator query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape abgefragt werden. Der CursorCursorCursorCursorcursor ist dem Fenster im weiteren zugeordnet (d.h. das Muster wird bei Eintritt in das Fenster verwendet) und zwar unabhängig davon, welches Fenster die aktuellen Ausgaben verarbeitet.

Ausführungsinformationen

Parameter

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

CursorCursorCursorCursorcursor (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Name des Mauscursors.

Defaultwert: 'arrow' "arrow" "arrow" "arrow" "arrow"

Ergebnis

set_mshapeset_mshapeSetMshapeSetMshapeSetMshape liefert den Wert 2 (H_MSG_TRUE), falls für das Fenster der angegebene CursorCursorCursorCursorcursor definiert ist. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

open_windowopen_windowOpenWindowOpenWindowOpenWindow, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape, get_mshapeget_mshapeGetMshapeGetMshapeGetMshape

Siehe auch

get_mshapeget_mshapeGetMshapeGetMshapeGetMshape, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape

Modul

Foundation