Lines Matching refs:wParam
206 static LRESULT CALLBACK HighGUIProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
207 static LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
208 static LRESULT CALLBACK MainWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
213 typedef int (CV_CDECL * CvWin32WindowCallback)(HWND, UINT, WPARAM, LPARAM, int*);
1310 MainWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
1314 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1319 ::SendMessage(window->hwnd, uMsg, wParam, lParam);
1334 LRESULT retval = DefWindowProc(hwnd, uMsg, wParam, lParam);
1398 if(LOWORD(wParam) == WA_ACTIVE || LOWORD(wParam) == WA_CLICKACTIVE)
1406 int flags = (wParam & MK_LBUTTON ? CV_EVENT_FLAG_LBUTTON : 0)|
1407 (wParam & MK_RBUTTON ? CV_EVENT_FLAG_RBUTTON : 0)|
1408 (wParam & MK_MBUTTON ? CV_EVENT_FLAG_MBUTTON : 0)|
1409 (wParam & MK_CONTROL ? CV_EVENT_FLAG_CTRLKEY : 0)|
1410 (wParam & MK_SHIFT ? CV_EVENT_FLAG_SHIFTKEY : 0)|
1415 int delta = GET_WHEEL_DELTA_WPARAM(wParam);
1440 HDC hdc = (HDC)wParam;
1469 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1473 static LRESULT CALLBACK HighGUIProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
1479 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1584 int flags = (wParam & MK_LBUTTON ? CV_EVENT_FLAG_LBUTTON : 0)|
1585 (wParam & MK_RBUTTON ? CV_EVENT_FLAG_RBUTTON : 0)|
1586 (wParam & MK_MBUTTON ? CV_EVENT_FLAG_MBUTTON : 0)|
1587 (wParam & MK_CONTROL ? CV_EVENT_FLAG_CTRLKEY : 0)|
1588 (wParam & MK_SHIFT ? CV_EVENT_FLAG_SHIFTKEY : 0)|
1673 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1678 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1699 window->last_key = (int)wParam;
1712 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1716 static LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
1723 int rethg = hg_on_preprocess(hwnd, uMsg, wParam, lParam, &was_processed);
1727 ret = HighGUIProc(hwnd, uMsg, wParam, lParam);
1732 int rethg = hg_on_postprocess(hwnd, uMsg, wParam, lParam, &was_processed);
1780 static LRESULT CALLBACK HGToolbarProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
1784 return DefWindowProc(hwnd, uMsg, wParam, lParam);
1808 LRESULT ret = CallWindowProc(window->toolbar.toolBarProc, hwnd, uMsg, wParam, lParam);
1820 (WPARAM)trackbar->id, (LPARAM)&rect);
1833 return CallWindowProc(window->toolbar.toolBarProc, hwnd, uMsg, wParam, lParam);
1932 return (int)message.wParam;
1935 if( message.wParam == VK_F10 )
1938 return (int)(message.wParam << 16);
1944 if( (message.wParam >= VK_F1 && message.wParam <= VK_F24) ||
1945 message.wParam == VK_HOME || message.wParam == VK_END ||
1946 message.wParam == VK_UP || message.wParam == VK_DOWN ||
1947 message.wParam == VK_LEFT || message.wParam == VK_RIGHT ||
1948 message.wParam == VK_INSERT || message.wParam == VK_DELETE ||
1949 message.wParam == VK_PRIOR || message.wParam == VK_NEXT )
1953 return (int)(message.wParam << 16);
1957 if ('C' == message.wParam && (::GetKeyState(VK_CONTROL)>>15))
1961 if ('S' == message.wParam && (::GetKeyState(VK_CONTROL)>>15))
2039 SendMessage(window->toolbar.toolbar, TB_BUTTONSTRUCTSIZE, (WPARAM)sizeof(TBBUTTON), 0);
2108 (WPARAM)tbs.idCommand, (LPARAM)&tbis);
2112 (WPARAM)tbs.idCommand, (LPARAM)&rect);
2160 SendMessage(trackbar->hwnd, TBM_SETRANGEMIN, (WPARAM)TRUE, (LPARAM)0);
2161 SendMessage(trackbar->hwnd, TBM_SETRANGEMAX, (WPARAM)TRUE, (LPARAM)count);
2162 SendMessage(trackbar->hwnd, TBM_SETTICFREQ, (WPARAM)1, (LPARAM)0 );
2166 SendMessage(trackbar->hwnd, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)pos );
2280 SendMessage( trackbar->hwnd, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)pos );
2311 SendMessage(trackbar->hwnd, TBM_SETRANGEMAX, (WPARAM)TRUE, (LPARAM)maxval);