Re: Win32lib dialogs within proc's

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ah i see, There is another way, but i dont know if it will work for you.
There are other dialogs that windows has builts in, some that are not in
win32lib, I have used them before but i am not sure of there names anymore,
I got them from the windows refrence from the MS web site. I think that
windows will provide you with what you need, If i new just what data you
want from the user i could give some/full code for that piece. I too dislike
the way data is handled in windows API prigramming...I look forward to
helping you, I am in need of a change of venue....


J Reeves
Grape Vine
ICQ# 13728824

>From: Matthew Lewis <MatthewL at KAPCOUSA.COM>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Re: Win32lib dialogs within proc's
>Date: Fri, 10 Mar 2000 07:59:26 -0800
>
>OK, I think I gave a bad example.  Basically, I was using the
>getOpenFileName dialog as an easy way to get some input from the user in a
>generic sense.  I guess what I'd like to do is be able to create my own
>dialogs that could be used in a similar manner.  I think this works because
>you hand over control to windows using the common dialog, which does it's
>thing and then gives control back to Eu.
>
>Basically, I'd like to be able to 'emulate' that ability.  I haven't been
>able to think of any nice solutions to this.  I guess what I'd need is
>another event loop, like by nesting a call to WinMain within a call to
>WinMain.  I guess that would require some sort of 'namespace' architecture
>on the part of win32lib, to keep controls of the various event loops
>separate.
>
>Hmmm.  This would help me with something else that's been bothering me with
>windows programming.  I've found that I have to make a lot of vars global
>(at least local, and not private to a routine), and use procedures
>everywhere to manipulate vars rather than cleaner functions and less global
>vars--since we don't know when the user will trigger any given event (eg,
>Button_onClick) and send us back to the main flow of our program.
>
>
>Matthew W Lewis
>
>
> > -----Original Message-----
> > From: Grape_ Vine_ [mailto:g__vine at hotmail.com]
> >
> > I am working on a project that sounds like it is close to
> > what you are
> > doing, Can you give me a clearer idea as to what it is you are doing?
> > You used
> >
> > file = getOpenFileName(Main, "", {"All Files", "*.*"} )
> >
> > as a example, IF you wanted to use a certian file name from
> > another part of
> > your program that would be easy, you change the code to
> >
> > object file_name
> > tons of code
> > file = getOpenFileName(Main, "file_name", {"File
> > description", "file_name"})
> >
> > Since i dont know just what your needs are my example is most
> > likely not
> > what you need
> >




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu