limit PureBasic IDE components to desktop

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

limit PureBasic IDE components to desktop

Post 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.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

(PB Team) Feel free to steal code/ideas from here :)

http://www.purebasic.fr/english/viewtopic.php?t=29652
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post 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...
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply