> Is there a function to ask the system what the valid coordinates are? > Simply removing these lines will mean that resizing may result in the > gvim window being outside of the screen boundaries on a single monitor.
It seems GetSystemMetrics can do the trick ( http://msdn.microsoft.com/en-us/library/dd162729(VS.85).aspx ) SM_XVIRTUALSCREEN and SM_YVIRTUALSCREEN should return starting coordinates. I am not sure in what version of windows this constants appeared first. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php