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

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

        OnTrackUpdateSize(ptScreen);
    }

    baseCSizingControlBar::OnMouseMove(nFlags, point);
}
Esempio 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);
}