Exemplo n.º 1
0
int
ActiveWindow::ReleaseCapture()
{
    EventDispatch* dispatch = EventDispatch::GetInstance();
    if (dispatch)
    return dispatch->ReleaseMouse(this);

    return 0;
}
Exemplo n.º 2
0
bool
TacRefDlg::ReleaseCaptureBeauty()
{
    EventDispatch* dispatch = EventDispatch::GetInstance();
    if (dispatch && beauty)
    return dispatch->ReleaseMouse(beauty) ? true : false;

    return 0;
}