Hi.
I am a bit confused about how to attach a MouseOver / MouseLeave event detector to a single control.
Like for example , I might attach three ITextToggleControls
like this
pGraphics->AttachControl(new ITextToggleControl(
settingWidgetBounds.GetGridCell(0, 0, 1, 3),
showHideAddresses,
ICON_FK_CIRCLE_O,
ICON_FK_QUESTION_CIRCLE_O,
forkAwesomeText
)
, kCtrlShowInfo, "prefs");
But how would I then attach a MouseOver action/callback to each one? I can’t seem to find a clear example in the Examples folder, and I don’t really understand how the float x and float y in the method signature are supposed to be used
Could someone demonstrate the pattern?