Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread James Harvey
On Sun, May 07, 2006 at 02:07:51PM +0200, Bram Moolenaar wrote: > > If it's essential for other systems to not have negative coordinates > > here, it might be worth the windows gui_mch_*_winpos functions > > offsetting from the top-right of the entire virtual screen; this is > > SM_XVIRTUALSCREEN a

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread Bram Moolenaar
James Harvey wrote: > (following up to myself, first sign of madness) > > On Sun, May 07, 2006 at 11:58:12AM +0100, James Harvey wrote: > > Adding debug to the code tells me that the SetWindowPos is doing the > > right thing, because a GetWindowRect immediately afterwards is returning > > the -v

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread James Harvey
(following up to myself, first sign of madness) On Sun, May 07, 2006 at 11:58:12AM +0100, James Harvey wrote: > Adding debug to the code tells me that the SetWindowPos is doing the > right thing, because a GetWindowRect immediately afterwards is returning > the -ve coordinates passed in. So my hun

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread Bram Moolenaar
James Harvey wrote: > On Sat, May 06, 2006 at 10:23:50PM +0100, James Harvey wrote: > > On Sat, May 06, 2006 at 10:13:36PM +0200, Bram Moolenaar wrote: > > > James Harvey wrote: > > > > [snip description of multi-monitor resize window bug] > > > > > > Your code fails when using one monitor and t

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread James Harvey
On Sat, May 06, 2006 at 10:23:50PM +0100, James Harvey wrote: > On Sat, May 06, 2006 at 10:13:36PM +0200, Bram Moolenaar wrote: > > James Harvey wrote: > > > [snip description of multi-monitor resize window bug] > > > > Your code fails when using one monitor and the taskbar is at the left or > > t

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-06 Thread James Harvey
On Sat, May 06, 2006 at 10:13:36PM +0200, Bram Moolenaar wrote: > James Harvey wrote: > > An example: if I move a window to my secondary monitor (happens to be > > to the right), and then run :vsp (which, in my setup, gives a second > > scrollbar, thus making the window bigger): > > > > * get_work

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-06 Thread Bram Moolenaar
James Harvey wrote: > [ I've just re-subscribed to this list after a while away. > I downloaded and built vim 7 (from subversion) and found this bug > myself ] > > > > On a windows xp multimonitor system, if I do the following: > > > > > > 1. Ensure 'guioptions' contains 'L'. > > > 2. Post

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-06 Thread James Harvey
[ I've just re-subscribed to this list after a while away. I downloaded and built vim 7 (from subversion) and found this bug myself ] > > On a windows xp multimonitor system, if I do the following: > > > > 1. Ensure 'guioptions' contains 'L'. > > 2. Postion the gvim window such that it is at

Re: 7.0e: Problem with vertical splits on windows xp

2006-04-21 Thread Georg Dahn
Hi! Well, this problem is older, since Vim 6.4 behaved like that, too. If a vertical split is created and guioptions contain L, a scrollbar is added which makes the windows wider by the amount of the scrollbar. I have removed the L from the guioptions and don't miss it. Best wishes, Georg --- C

7.0e: Problem with vertical splits on windows xp

2006-04-21 Thread Cory Echols
On a windows xp multimonitor system, if I do the following: 1. Ensure 'guioptions' contains 'L'. 2. Postion the gvim window such that it is at least partly drawn on the secondary monitor. 3. Create a vertical split or close a vertical split. The gvim window will move horizontally such that the gv