Project

General

Profile

Previous Up Next

_CBcompCheckCursorMoveIn
Sets a callback corresponding to the mouse cursor entering object.

CompCheck _CBcompCheckCursorMoveIn (
CompCheck _check_
fun [CompCheck u0 I I I] u1 _callback_
u0 _user_
)
Parameters

_check_
any CompCheck
_callback_
callback function on mouse cursor entering the object (supplemental parameters are x, y and mask)
x and y are cursor coordinates in container
mask is a combination of values :
Value Meaning
MK_CONTROL control key is pressed
MK_LBUTTON left button is pushed
MK_MBUTTON middle button is pushed
MK_RBUTTON right button is pushed
MK_SHIFT shift key is pushed
_user_
user parameter
Return value

same CompCheck