#include <OW32/OW32Libs.h>
#include <OW32/windows.h>
#include <OW32/Thread.h>
#include <tchar.h>
Go to the source code of this file.
|
Value: virtual LRESULT OnMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) \ { \ typedef BaseClass _BaseClass; \ uMsg; wParam; lParam; bHandled = TRUE; \ |
|
Value: if (uMsg == WM_COMMAND && HIWORD(wParam) == code) { \ LRESULT res = (func)(id, HIWORD(wParam), (HWND)lParam, bHandled); \ if (bHandled) return res; \ } |
|
Value: if (uMsg == WM_COMMAND && HIWORD(wParam) == code && LOWORD(wParam) == id) { \ (func)(); \ return TRUE; \ } |
|
Value: if (uMsg == WM_COMMAND) { \ LRESULT res = (func)((int)LOWORD(wParam), (HWND)lParam, (UINT)HIWORD(wParam)); \ return 0L; \ } |
|
Value: if (uMsg == WM_COMMAND && LOWORD(wParam) == id) { \ LRESULT res = (func)(LOWORD(wParam), HIWORD(wParam), (HWND)lParam, bHandled); \ if (bHandled) return res; \ } |
|
Value: if (uMsg == WM_COMMAND && LOWORD(wParam) == id) { \ (func)(); \ return TRUE; \ } |
|
Value: virtual LRESULT OnMessage(UINT, WPARAM, LPARAM, BOOL& bHandled) { \ bHandled = FALSE; \ return 0; \ } |
|
Value: LRESULT res = _BaseClass::OnMessage(uMsg, wParam, lParam, bHandled); \ if (bHandled) return res; \ bHandled = FALSE; \ return 0; \ } |
|
Value: if (uMsg == msg) { \ return (func)(wParam, lParam); \ } |
|
Value: if (uMsg == msg) { \ (func)(); \ return 0L; \ } |
|
Value: if (uMsg == msg) { \ (func)(wParam); \ return 0L; \ } |
|
Value: if (uMsg == msg) { \ (func)(lParam); \ return 0L; \ } |
|
Value: if (uMsg == msg) { \ return (func)(msg, wParam, lParam); \ } |
|
Value: if (uMsg >= msgFirst && uMsg <= msgLast) { \ LRESULT res = (func)(uMsg, wParam, lParam, bHandled); \ if (bHandled) return res; \ } |
|
Value: if (uMsg == WM_NOTIFY && (int)wParam == id && ((LPNMHDR)lParam)->code == ncode) { \ (func)(); \ return 0; \ } |
|
Value: if (uMsg == WM_CREATE) { \ return OnCreate((LPCREATESTRUCT)lParam) ? 0L : -1L; \ } |
|
Value: if (uMsg == WM_DESTROY) { \ OnDestroy(); \ return 0L; \ } |
|
Value: if (uMsg == WM_LBUTTONDOWN) { \ OnLButtonDown(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), (UINT)wParam); \ return 0L; \ } |
|
Value: if (uMsg == WM_LBUTTONUP) { \ OnLButtonUp(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), (UINT)wParam); \ return 0L; \ } |
|
Value: if (uMsg == WM_MOUSEMOVE) { \ OnMouseMove(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), (UINT)wParam); \ return 0L; \ } |
|
Value: if (uMsg == WM_PAINT) { \ OnPaint(); \ return 0L; \ } |
|
Value: if (uMsg == WM_LBUTTONDOWN) { \ OnLButtonDown(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), (UINT)wParam); \ return 0L; \ } |
|
Value: if (uMsg == WM_LBUTTONUP) { \ OnLButtonUp(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), (UINT)wParam); \ return 0L; \ } |
|
Value: if (uMsg == WM_SIZE) { \ OnSize((int)LOWORD(lParam), (int)HIWORD(lParam), (UINT)wParam); \ return 0L; \ } |