15 bool ok() {
return _ok;}
17 LRESULT CALLBACK wndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam);
18 static LRESULT CALLBACK s_wndProc( HWND hWnd, UINT, WPARAM, LPARAM );
19 static std::map <void*, Capture*> registry;
21 virtual void OnLButtonDown(UINT flags,
int x,
int y) {}
22 virtual void OnMButtonDown(UINT flags,
int x,
int y) {}
23 virtual void OnRButtonDown(UINT flags,
int x,
int y) {}
24 virtual void OnLButtonUp(UINT flags,
int x,
int y) {}
25 virtual void OnMButtonUp(UINT flags,
int x,
int y) {}
26 virtual void OnRButtonUp(UINT flags,
int x,
int y) {}
27 virtual void OnMouseMove(UINT flags,
int x,
int y) {}