Exemplo n.º 1
0
void CSizingControlBar::OnMouseMove(UINT nFlags, CPoint point) 
{
    if (m_bTracking)
        OnTrackUpdateSize(point);
    
    baseCSizingControlBar::OnMouseMove(nFlags, point);
}
Exemplo n.º 2
0
void CSizableReBar::OnMouseMove( UINT nFlags, CPoint point )
{
    if ( m_bTracking )
    {
        OnTrackUpdateSize( point );
    }

    CControlBar::OnMouseMove( nFlags, point );
}
Exemplo n.º 3
0
void CSizingControlBar::OnMouseMove(UINT nFlags, CPoint point)
{
    if (m_bTracking)
    {
        CPoint ptScreen = point;
        ClientToScreen(&ptScreen);

        OnTrackUpdateSize(ptScreen);
    }

    baseCSizingControlBar::OnMouseMove(nFlags, point);
}
Exemplo n.º 4
0
void CSizingControlBar::OnMouseMove(UINT nFlags, CPoint point)
{
    if (m_bTracking)
    {
        CPoint ptScreen = point;
        ClientToScreen(&ptScreen);

        //mpc-hc custom code start
        // Switch to parent window client coordinates to account for possible RTL layout
        CPoint ptParentClient = ptScreen;
        GetParentFrame()->ScreenToClient(&ptParentClient);
        OnTrackUpdateSize(ptParentClient);
        //mpc-hc custom code end
    }

    baseCSizingControlBar::OnMouseMove(nFlags, point);
}