bool ActiveWindow::SetCapture() { EventDispatch* dispatch = EventDispatch::GetInstance(); if (dispatch) return dispatch->CaptureMouse(this) == 1; return false; }
bool TacRefDlg::SetCaptureBeauty() { EventDispatch* dispatch = EventDispatch::GetInstance(); if (dispatch && beauty) return dispatch->CaptureMouse(beauty) ? true : false; return 0; }