Re: size of window decorations

2011-01-09 Thread Claus Dreischer
... and this stack script is what i came up with (i only needed a windows XP solution) (beware of email line breaks): -- shrink to min revChangeWindowSize the minWidth of me, the minHeight of me,"slide",,500 revUpdateGeometry -- get dimensions from screen and stack

Re: size of window decorations

2011-01-06 Thread Richard Gaskin
Claus Dreischer wrote: thanks for that snippet, but it returns 1 here, which is not like in Klaus' table, or i completely misunderstood you. But you gave me a pointer: I think i can frickel something when i use this key too to get the height of the decorations: HKEY_CURRENT_USER\Control Panel\

Re: size of window decorations

2011-01-06 Thread Claus Dreischer
Hello Richard, thanks for that snippet, but it returns 1 here, which is not like in Klaus' table, or i completely misunderstood you. But you gave me a pointer: I think i can frickel something when i use this key too to get the height of the decorations: HKEY_CURRENT_USER\Control Panel\desktop\Wi

Re: size of window decorations

2011-01-06 Thread Claus Dreischer
Hi Klaus (the Great :-), this does help indeed, but (there is always a but, right?) where do i check which window style is used? Here on WinXP i use the classic style because the windows are a bit smaller, not the Windows XP style. Any idea where i can look that up? Regards, Claus. Am

Re: size of window decorations

2011-01-06 Thread Richard Gaskin
Claus Dreischer wrote: is there a way to determine the size of the window decorations (the stuff the OS is painting around my stack)? I would like to move my stack into the upper left corner, but without the knowledge of the real height of the whole window (stack + window decorations), i don't

Re: size of window decorations

2011-01-06 Thread Klaus on-rev
Hi Claus, > Hello, > > is there a way to determine the size of the window decorations (the > stuff the OS is painting around my stack)? > > I would like to move my stack into the upper left corner, but without > the knowledge of the real height of the whole window (stack + window > decorations),

size of window decorations

2011-01-06 Thread Claus Dreischer
Hello, is there a way to determine the size of the window decorations (the stuff the OS is painting around my stack)? I would like to move my stack into the upper left corner, but without the knowledge of the real height of the whole window (stack + window decorations), i don't know how much i sh