1. opening a window

I's mind boggling 
that i am still 
told in #Euphoria 
on irc that i 
cannot use Euphoria 
to open a window 
that has the 
similar
look&feel of 
Explorer.
When i ask,
i am told over and over 
that i must use 
C to call win32api functions.
To which my reply is
"i'll use mirc instead".

How is it that
after 10 years of 
development,
win32lib is unable
to open a window
that somewhat resembles
windows Explorer,
that i can populate with
text of my choosing? 
And has the mouse point-
click handling so i can 
get user interaction?

Kat

new topic     » topic index » view message » categorize

2. opening a window

Since the arguement 
is now
"what does 
Explorer look like?",
i posted a screen shot 
at
http://209.51.143.130/~katsmeow/explorerview.jpg
(sorry for the word
wrap of the
url, this java-
script web posting
thing bites.)

Kat

new topic     » goto parent     » topic index » view message » categorize

3. Re: opening a window

Kat wrote:
> 
> I's mind boggling 
> that i am still 
> told in #Euphoria 
> on irc that i 
> cannot use Euphoria 
> to open a window 
> that has the 
> similar
> look&feel of 
> Explorer.

SNIPPED

Kat, that was a very cool poem. Thanks for posting.

(Try using wxEuphoria.)

new topic     » goto parent     » topic index » view message » categorize

4. Re: opening a window

Kat wrote:
> 
> 
> I's mind boggling 
> that i am still 
> told in #Euphoria 
> on irc that i 
> cannot use Euphoria 
> to open a window 
> that has the 
> similar
> look&feel of 
> Explorer.
> When i ask,
> i am told over and over 
> that i must use 
> C to call win32api functions.
> To which my reply is
> "i'll use mirc instead".
> 
> How is it that
> after 10 years of 
> development,
> win32lib is unable
> to open a window
> that somewhat resembles
> windows Explorer,
> that i can populate with
> text of my choosing? 
> And has the mouse point-
> click handling so i can 
> get user interaction?
> 
> Kat

I didn't know that you couldn't do it -- I've never tried. There are about a
dozen or so widgets that you have to create and populate and manage to do that.

That's one reason why I don't do gui programming. Or if I do want to do gui type
stuff I stick to html/javascript.

Not that I know how to create a window like that in javascript. It would
probably be at least as difficult as in Euphoria.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view message » categorize

5. Re: opening a window

Kat wrote:
> 
> 
> I's mind boggling 
> that i am still 
> told in #Euphoria 
> on irc that i 
> cannot use Euphoria 
> to open a window 
> that has the 
> similar
> look&feel of 
> Explorer.
> When i ask,
> i am told over and over 
> that i must use 
> C to call win32api functions.
> To which my reply is
> "i'll use mirc instead".
> 
> How is it that
> after 10 years of 
> development,
> win32lib is unable
> to open a window
> that somewhat resembles
> windows Explorer,
> that i can populate with
> text of my choosing? 
> And has the mouse point-
> click handling so i can 
> get user interaction?
> 
> Kat

Okay, I know this isn't /exactly/ what you're looking for, but:
http://www.rapideuphoria.com/effm2.zip
Euphoria Free File Manager. I've never used it or looked at the code, but the
description says it fulfills some of your requirements.

Unfortunately it uses Windows directly and not one of the various libraries.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view message » categorize

6. Re: opening a window

Kat wrote:
> 
> 
> Since the arguement 
> is now
> "what does 
> Explorer look like?",
> i posted a screen shot 
> at
> <a
> href="http://209.51.143.130/~katsmeow/explorerview.jpg">http://209.51.143.130/~katsmeow/explorerview.jpg</a>
> (sorry for the word
> wrap of the
> url, this java-
> script web posting
> thing bites.)
> 
> Kat

The explorer like window posted on your site is a definitely complex window,
but, adding xControls (D. Phillips and G. Haberek) to win32lib, you sure can
build it.

 From what I can see, you need:
1/ A standard application framework, complete with a statusbar, menubar and
toolbar. Trivial. Be sure to look for all available toolbar button styles, and
you'll get it working;
2/ A VSplitter control from xControls. This could be something to import into
win32lib.
3/ A standard TreeView control from win32lib (folder tree). It has almost
everything right out of the box - you'll have to implement incremental search if
you need it;
4/ A ListView in Small icons mode: win32lib has that (directory display). You'll
have to implement drag and drop, as the library doesn't handle it natively for
this control. It looks like everyone uses the LVS_REPORT style and nothing else.
5/ Not sure about the thingy to close the folder tree window, but I guess it is
a standard component on WinXP. Since the library caters for Win98 users, it
doesn't support any modern component - the newer RichEdits being an exception.
I'll try to steer away from that, time permitting.

Explorer, even on a diet, is a full fledged application. The library is a(n
advanced) component provider, so I don't think it is supposed to supply this sort
of window - assortment of windows actually - out of the box. But all the spare
parts are available, and all connectors as well.

CChris

new topic     » goto parent     » topic index » view message » categorize

7. Re: opening a window

EUforum Messages
- Powered by Euphoria -
	
	
	
				
Post 	Reply 	Previous 	Next 	All Messages
Date: Fri 16 19:35
 From: Jason Gade <jaygade at yahoo??om>
Subject: Re: opening a window

Kat wrote:
> 
> 
> I's mind boggling 
> that i am still 
> told in #Euphoria 
> on irc that i 
> cannot use Euphoria 
> to open a window 
> that has the 
> similar
> look&feel of 
> Explorer.
> When i ask,
> i am told over and over 
> that i must use 
> C to call win32api functions.
> To which my reply is
> "i'll use mirc instead".
> 
> How is it that
> after 10 years of 
> development,
> win32lib is unable
> to open a window
> that somewhat resembles
> windows Explorer,
> that i can populate with
> text of my choosing? 
> And has the mouse point-
> click handling so i can 
> get user interaction?
> 
> Kat

Okay, I know this isn't /exactly/ what you're looking for, but:
http://www.rapideuphoria.com/effm2.zip
Euphoria Free File Manager. I've never used it or looked at the code, but the
description says it fulfills some of your requirements.

Unfortunately it uses Windows directly and not one of the various libraries.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

 
				
Post 	Reply 	Previous 	Next 	All Messages

The "Reply" button 
isn't working on 
http://www.openeuphoria.org/EUforum/
now, so i copy/
pasted the webpage from 
Jason.

Thankyou Jason. 
I downloaded the 
zip and tried
running EFFM.exw
and got this:

C:\euphoria\filemanager\EFFM.exw:292 in function myalloc()
A machine-level exception occurred during execution of this statement

... called from C:\euphoria\filemanager\treeviews.ew:195 in function
GetParentItem()

(again, sorry 
for the word-
wraps in that 
text, the text box
on the "send a 
message" webpage
has no wordwrap,
so i am guessing
on acceptable line 
lengths).

Kat

new topic     » goto parent     » topic index » view message » categorize

8. Re: opening a window

Sorry about that, Kat. Maybe CChris' response will help you more.

Regarding the word wrap, I don't understand. I've always had word wrap on this
reply form under IE, Firefox, and Opera. Well, for many years anyway. I don't
know what to tell you on that.

Sorry I couldn't help more.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view message » categorize

9. Re: opening a window

Kat wrote:
> 
> Since the arguement 
> is now
> "what does 
> Explorer look like?",
> i posted a screen shot 
> at
> <a
> href="http://209.51.143.130/~katsmeow/explorerview.jpg">http://209.51.143.130/~katsmeow/explorerview.jpg</a>

FWIW, the closest I've yet got in this area, but using arwen rather than
win32lib, can be previewed at:

http://palacebuilders.pwp.blueyonder.co.uk/pdtv.htm
and
http://palacebuilders.pwp.blueyonder.co.uk/pftp.htm

Hopefully the pictures speak for themselves, no more, no less.
(I should note that .jpg show the same icon in Windows Explorer, here)

I too have a copy of EFFM which crashes; I've always wondered what it would look
like if it did not. I may give it another shot this weekend.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

10. Re: opening a window

<TEST OF WORDWRAP below:>

Jason Gade wrote:
> 
> Sorry about that, Kat. Maybe CChris' response will help you more.
> 
> Regarding the word wrap, I don't understand. I've always had word wrap on this
> reply form under IE, Firefox, and Opera. Well, for many years anyway. I don't
> know what to tell you on that.
> 
> Sorry I couldn't help more.
> 
> --
> A complex system that works is invariably found to have evolved from a simple
> system that works.
> --John Gall's 15th law of Systemantics.
> 
> "Premature optimization is the root of all evil in programming."
> --C.A.R. Hoare
> 
> j.

TESTING WORDWRAP (in reply box and forum display):
this is one long sentence all typed in as one line in which text ended HERE
(approximately) at the right hand EDGE OF the reply box for me, even though this
sentence continued on and on and on as I typed it. So I just kept typing and
typing and typing, so that when I read how this message looks on the EUforum, I
can see what happens to it.  I suspect that the DISPLAY of this message on the
forum will look "fine", wrapped into other than just one line of text, but in the
REPLY box as I'm typing it, it IS just one line of text.  Is that "not wrapping
in the reply box" the word wrap problem you're talking about, Kat?  It was, btw,
hard to type this way without seeing the previous parts of this other than moving
the slider back and forth.  So I'd agree that it WOULD be nice to have the reply
box do its own word wrap.

Dan M.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu