1. How to program a (nicely!) resizable TV window?
- Posted by Thomas K. <thomas.kunstmann at gmx.net> Jan 17, 2006
- 535 views
Hi Co-Euphorians, I'm writing a proggy that shows a TV-window on the left and some other information in a window on the right of it. I would like to make the TV-window resizable, that is, I can grab it on the right border and pull it towards the right; this way the TV-window is getting bigger and the other window smaller and vice versa. I looked for an example in the Win32lib and all I found was the "Enhanced IDE". I see and I understand how it's been programmed, but I dislike the result: a TV-window, that can be grabbed and pulled on the upper and on the lower edges, with sometimes unpredictable effects. So, is there a way of programming a nicely resizable TV-window in Euphoria, like, let's say an example, that we all know, favorites TV-window in MS IE or filesystem TV-window in MS explorer? Regards, Thomas
2. Re: How to program a (nicely!) resizable TV window?
- Posted by don cole <doncole at pacbell.net> Jan 17, 2006
- 490 views
Thomas K. wrote: > > Hi Co-Euphorians, > I'm writing a proggy that shows a TV-window on the left and some other > information > in a window on the right of it. I would like to make the TV-window resizable, > that is, I can grab it on the right border and pull it towards the right; this > way the TV-window is getting bigger and the other window smaller and vice > versa. > I looked for an example in the Win32lib and all I found was the "Enhanced > IDE". > I see and I understand how it's been programmed, but I dislike the result: a > TV-window, that can be grabbed and pulled on the upper and on the lower edges, > with sometimes unpredictable effects. > So, is there a way of programming a nicely resizable TV-window in Euphoria, > like, let's say an example, that we all know, favorites TV-window in MS IE or > filesystem TV-window in MS explorer? > > Regards, > Thomas Try the zoom fac in my Deluxe Slide Show3. http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=deluxe+slide+show3 Change zooming the picture to zooming the window. Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.
3. Re: How to program a (nicely!) resizable TV window?
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 17, 2006
- 496 views
On Tue, 17 Jan 2006 00:07:39 -0800, "Thomas K." wrote: >is there a way of programming a nicely resizable TV-window in Euphoria, I managed this in Edita, which uses Arwen rather than Win32Lib. The relevant parts are eamarea.ew, which handles resizing of the message area (Ctrl M) and some more scattered code in edita.exw (look for WESizing) which handles the file panel (Ctrl L). Both of these just set isFilePanelWidth/isMessageHeight and send a WM_SIZE message, which in turn invokes recalculateClipRect which calls xMoveWindow a bunch of times. There might be an easier way to do it, and before you ask I have not tried this using win32lib. Regards, Pete
4. Re: How to program a (nicely!) resizable TV window?
- Posted by Greg Haberek <ghaberek at gmail.com> Jan 17, 2006
- 494 views
> So, is there a way of programming a nicely resizable TV-window in Euphori= a, like, let's say an example, that we all know, favorites TV-window in MS = IE or filesystem TV-window in MS explorer? <shameless plug> Um.... how about a Splitter? Have you looked into xControls? </shameless plug> ~Greg
5. Re: How to program a (nicely!) resizable TV window?
- Posted by Thomas K. <thomas.kunstmann at gmx.net> Jan 18, 2006
- 514 views
Hi Co-Euphorians, this is - for the moment - just to say to you all, that I really appreciate your responds! I thus had to find out, that my prob isn't that easy to fix; as my pgm is more or less stable, I will leave it for the moment with it's ugly, but working, Win32lib resizable panes. After really understanding the changes necessary I will implement them. @Don: had a look at your pgm: that's really very nice, but I can't find a relation to my prob? Perhaps you did misunderstand me? @Pete: That does not sound very enthusiastic! @Greg: pgm textview, f.e.: sorry, the .exw doesn't work anymore on my system, because of change from (depreciated) on* > setHandler, but the .exe showed, that you had understood my prob, and that there is a way of doing "nice" resizable windows! I will just need some time now to understand, what's going on in the splitter routines, before implementing them ... Best regards, Thomas
6. Re: How to program a (nicely!) resizable TV window?
- Posted by Greg Haberek <ghaberek at gmail.com> Jan 18, 2006
- 578 views
> @Greg: pgm textview, f.e.: sorry, the .exw doesn't work anymore on my sys= tem, because of change from (depreciated) on* > setHandler, but the .exe sh= owed, that you had understood my prob, and that there is a way of doing "ni= ce" resizable windows! I will just need some time now to understand, what's= going on in the splitter routines, before implementing them ... Wow, textview. That's old. Try looking up xControls 2.0 - its my newest rewrite since I adopted the library from Don Phillips some time back. ~Greg