break;\r
\r
/* Support for captionless window */\r
-#if 0\r
- case WM_NCLBUTTONDBLCLK:\r
- if( wParam == HTCAPTION ) {\r
- int index;\r
- POINT mouse_xy;\r
- POINTS pts = MAKEPOINTS(lParam);\r
-\r
- mouse_xy.x = pts.x;\r
- mouse_xy.y = pts.y;\r
- ScreenToClient( hDlg, &mouse_xy );\r
-\r
- index = GetMoveIndexFromPoint( mouse_xy.x, mouse_xy.y );\r
-\r
- if( index >= 0 && index < currLast ) {\r
- ToNrEvent( index + 1 );\r
- }\r
- }\r
- break;\r
-\r
- case WM_NCHITTEST:\r
- {\r
- LRESULT res = DefWindowProc( hDlg, message, wParam, lParam );\r
-\r
- if( res == HTCLIENT ) res = HTCAPTION;\r
-\r
- SetWindowLong( hDlg, DWL_MSGRESULT, res );\r
-\r
- return TRUE;\r
- }\r
- break;\r
-#endif\r
-\r
case WM_CLOSE:\r
EvalGraphPopDown();\r
break;\r