Mercurial > emacs
comparison src/w32fns.c @ 36080:743534626f73
(w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
Emacs frame above the screen size.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Wed, 14 Feb 2001 13:00:01 +0000 |
parents | f4a0b086cc5d |
children | a8630c63f7d5 |
comparison
equal
deleted
inserted
replaced
36079:704dfca633dc | 36080:743534626f73 |
---|---|
4843 | 4843 |
4844 case WM_GETMINMAXINFO: | 4844 case WM_GETMINMAXINFO: |
4845 /* Hack to correct bug that allows Emacs frames to be resized | 4845 /* Hack to correct bug that allows Emacs frames to be resized |
4846 below the Minimum Tracking Size. */ | 4846 below the Minimum Tracking Size. */ |
4847 ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; | 4847 ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; |
4848 /* Hack to allow resizing the Emacs frame above the screen size. | |
4849 Note that Windows 9x limits coordinates to 16-bits. */ | |
4850 ((LPMINMAXINFO) lParam)->ptMaxTrackSize.x = 32767; | |
4851 ((LPMINMAXINFO) lParam)->ptMaxTrackSize.y = 32767; | |
4848 return 0; | 4852 return 0; |
4849 | 4853 |
4850 case WM_EMACS_CREATESCROLLBAR: | 4854 case WM_EMACS_CREATESCROLLBAR: |
4851 return (LRESULT) w32_createscrollbar ((struct frame *) wParam, | 4855 return (LRESULT) w32_createscrollbar ((struct frame *) wParam, |
4852 (struct scroll_bar *) lParam); | 4856 (struct scroll_bar *) lParam); |