Page 1 of 1

limit PureBasic IDE components to desktop

Posted: Sun Dec 02, 2007 11:11 am
by blueznl
Very annoying, and I guess easy to fix:

If a window of the IDE or Debugger is out of bounds (ie. no longer on the desktop) please move it back to a visible spot on the desktop.

Posted: Mon Dec 03, 2007 4:42 am
by Rescator
(PB Team) Feel free to steal code/ideas from here :)

http://www.purebasic.fr/english/viewtopic.php?t=29652

Posted: Mon Dec 03, 2007 8:04 am
by blueznl
Yeah, I wrote something similar when I fooled around with multiple screen setups some time back in 2003...

http://www.purebasic.fr/english/viewtop ... 32&start=0

... which ended up somewhat more bloated, but I wanted to do some 'smart resize / repositioning'.

In fact, it would be enough to simply get the desktop size and desktop origin, and move any window with an out of bounds origin to 0,0.

Posted: Tue Dec 04, 2007 9:29 pm
by Rook Zimbabwe
I had a similar problem with the debugger window (I think it was similar) and I reported it in the Visual Desgignr forum... had to edit my prefs to make it show up again and cannot figure out how it got placed where it said it was...