-------------------------------------------------------------------------*/
| 991 | } |
| 992 | /*-------------------------------------------------------------------------*/ |
| 993 | void |
| 994 | onMouseUp(HWND hWnd, WPARAM wParam, LPARAM lParam) |
| 995 | { |
| 996 | PNHCmdWindow data; |
| 997 | |
| 998 | /* release mouse capture */ |
| 999 | ReleaseCapture(); |
| 1000 | |
| 1001 | /* get active display cell */ |
| 1002 | data = (PNHCmdWindow) GetWindowLong(hWnd, GWL_USERDATA); |
| 1003 | if (data->active_cell == -1) |
| 1004 | return; |
| 1005 | |
| 1006 | ActivateCell(hWnd, data->active_cell); |
| 1007 | |
| 1008 | data->active_cell = -1; |
| 1009 | } |
| 1010 | /*-------------------------------------------------------------------------*/ |
| 1011 | void |
| 1012 | ActivateCell(HWND hWnd, int cell) |
no test coverage detected