IUP-Go Documentation 4.0

ENTERWINDOW_CB

Action generated when the mouse enters the native element.

Callback

int function(Ihandle *ih);

ih: identifier of the element that activated the event.

Notes

When the cursor is moved from one element to another, the call order in all platforms will be first the LEAVEWINDOW_CB callback of the old control followed by the ENTERWINDOW_CB callback of the new control.

If the mouse button is held pressed and the cursor moves outside the element, the behavior is system-dependent. In Windows the LEAVEWINDOW_CB/ENTERWINDOW_CB callbacks are NOT called. In GTK, Motif and Qt the callbacks are called.

Also generated by IupDialog when the cursor enters its area. Not generated on Android and iOS.

Affects

All controls with user interaction, and IupDialog.

See Also

LEAVEWINDOW_CB