예제 #1
0
void CChromaDlg::OnMouseMove(UINT nFlags, CPoint Pt) 
{
	HWND	hDlg = GetSafeHwnd();
	COLORINFO ProbeColor;

   	if ( bProbePending )
	{
		bProbePending = NO;
	   	if (!QuickProbeStart(hDlg))
			return;
	}
   	if ( QuickProbeGet( hDlg, Pt.x, Pt.y, &ProbeColor ) )
		UpdateChromaMask(lpChromaMask->ActiveChromaMask, &ProbeColor);
}
예제 #2
0
LOCAL void ShieldFloat_OnMouseMove(HWND hDlg, int x, int y, UINT keyFlags)
/***********************************************************************/
{
    COLORINFO ProbeColor;

    if ( bProbePending )
    {
        bProbePending = NO;
        if ( !QuickProbeStart( hDlg ) )
            return;
    }
    if ( QuickProbeGet( hDlg, x, y, &ProbeColor ) )
        UpdateColorMask( &ProbeColor );
}