void AutoHideBar::HidePopup::ChildMouseEvent(Ctrl *child, int event, Point p, int zdelta, dword keyflags) { if (event == MOUSELEAVE) WhenLeave(); else if (event != MOUSEMOVE) WhenEnter(); }
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); }