changeset 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 704dfca633dc
children 56c4e1b0f130
files src/w32fns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Wed Feb 14 11:39:05 2001 +0000
+++ b/src/w32fns.c	Wed Feb 14 13:00:01 2001 +0000
@@ -4845,6 +4845,10 @@
       /* Hack to correct bug that allows Emacs frames to be resized
 	 below the Minimum Tracking Size.  */
       ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++;
+      /* Hack to allow resizing the Emacs frame above the screen size.
+	 Note that Windows 9x limits coordinates to 16-bits.  */
+      ((LPMINMAXINFO) lParam)->ptMaxTrackSize.x = 32767;
+      ((LPMINMAXINFO) lParam)->ptMaxTrackSize.y = 32767;
       return 0;
 
     case WM_EMACS_CREATESCROLLBAR: