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); }
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 ); }