Op Tue, 23 Nov 2010 16:02:26 +0100 schreef Dilwyn Jones <[email protected]>:

On 23 Nov 2010, at 11:14, Dilwyn Jones wrote:

Does anyone know of any software or extensions allowing windows to be auto-arranged on screen? I think it means that windows be automatically rearranged on modern large screen displays so that nothing overlaps if possible?

Or if not, hints on how such a program might be written? I can't think of a LEGAL way of doing this, I'm afraid.

Windows of PE programs can be moved by WM_CHWIN but non PE programs can't. I wanted to be able to move non PE windows so I invented a routine which can do this (with the help of the program itself of course). I think I have three programs using this facility.

However, that's a long way from moving someone else's windows without so much as a by your leave.

George
That's exactly what I thought. I had a horrible vision of scanning the jobs tree, suspending everything, scanning for every job's windows and poking new values into their window coordinates then trying to redraw them at new coordinates. Yuk. Messy. Probably impossible, at least without PE on the machine.

Dilwyn Jones
Does Windows or Linux have such a facility?
I know some apps do. Within Photoshop e.g. you can rearrange the picture windows but that is under program control. My own PE programs are usually aware of their place on the screen but when you move them around from the outside, how does the job know it has moved? Every programmer implements this differently. If a job would try to move its menu to coordinates where it doesn't fit the PE will adjust, so you must accept some overlap or change the PE not to do this. Some menus cannot be resized or have a minimum size set and the PE does not allow you to move parts of it of the screen like Windows does. Resizing the outline also means resizing any Loose-items, Info-windows and App-windows, if at all possible.

One thought might be to have a screen limit for each job. Initially they all overlap but you can Cascade them or Tile them while each job's menu is drawn at 0,0 of its own screen limit. (A rewrite of PE?)

Another thought is to implement it as a button frame. Divide the screen in as many parts as there are open menus, then show the top-left of the menu as a big button. Only those that are bigger than the button may need restoring to full size.

Good luck,
Bob

 _______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 10.0.1153 / Virusdatabase: 424/3273 - datum van uitgifte: 11/22/10



--
The BSJR QL software site at: http://members.chello.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to