Esempio n. 1
0
void AutoHideBar::HidePopup::ChildMouseEvent(Ctrl *child, int event, Point p, int zdelta, dword keyflags)
{
	if (event == MOUSELEAVE)
		WhenLeave();
	else if (event != MOUSEMOVE) 
		WhenEnter();
}
Esempio n. 2
0
void AutoHideBar::PopupWindow::ChildMouseEvent(Ctrl *child, int event, Point p, int zdelta, dword keyflags)
{
    if(event == MOUSELEAVE)
        WhenLeave();
    else if(event == MOUSEENTER)
        WhenEnter();
    Ctrl::ChildMouseEvent(child, event, p, zdelta, keyflags);
}