Re: Re: Is there a Help File for Euphoria Windows i.e. .exw programmes

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

Les Rogers wrote:
> 
> Dan Moyer wrote:
> > 
> > Les Rogers wrote:
> > > 
> > > 
> > > Hello,
> > > 
> > > Wondering if there is a help file 
> > > 
> > > to programme in euphoria windows.
> > > 
> > > With all the "handles"  and all other ?
> > > 
> > > If so .. Where please ??
> > > 
> > > sincerely,
> > >  les.r
> > 
> > les,
> > 
> > Well, there's Win32Lib, which comes with a large doc file,
> > and then there's the IDE, which uses Win32Lib & has its own documentation,
> > which provides a handy clickable *list* of events which are automagically
> > formatted into event handlers for routines, plus controls which you can
> > drag n' drop onto windows.
> > 
> > Did you mean something else different?
> > 
> > Dan Moyer
> 
> Dan,
> 
>   I really do not know what I need.
> Perusing a programme called "Runner.exw" which I found in
> EuWinGui\ewg-demos .. Andrea Cini.
> 
> While I added afew programmes to the text --programme--
> and it worked, I really did not know what the new 
> commands list1 , group1, handle, meant.
> 
> So I am looking for a euphoria type reference manual from which I 
> can see and learn the commands.
> 
> Like winmain , and all the numbers that follow certain commands.
> 
> thanks again Dan,
> 
> sincerely ,
> les.r.

les,

As has been noted, this info can be a little hard to come by; but you'll get
it as you persevere.

There is a nice article at:
http://euwiki.ayo.biz/Event_driven_programming

which might be of help to you to get started, though I think it relates
specifically to the Win32Lib library.

Here's some info that might also help:

As the Euphoria docs indicate, it is *possible* to program windows applications
directly from Euphoria, but not very easy for most people.

Therefore, various people have written "libraries" of functions which can be
included in a Euphoria program, which allow a programmer to write windows
programs *much* easier.  Some of those libraries also either include or also
have associated with them an "IDE" (integrated development environment", which'
allows a programmer to "drag n' drop" various elements of a windows program
onto a "work window", with the actual code to implement those elements being
written to a file for the programmer, by the IDE.  

Using an IDE is probably a good way to begin.

In general, a windows program differs from a "dos" program in that it involves:
  1.  a main LOOP (winMain) that "listens" for actions by program USER, etc.;
  2.  EVENTS that are predefined by the library, & selected by the programmer
      to be looked for by their program as required;
  3.  CONTROLS which are the (generally) VISUAL & FUNCTIONAL elements of the
      program, such as BUTTONS, LISTS, EDIT FIELDS, etc.
  4.  EVENT HANDLERS, which are the code you would write that would RESPOND
      to the events you selected to be watched for in your program, such as
      buttons being CLICKED, or mouse MOVING OVER some control, etc. 

This article, mentioned above, goes into more detail:
http://euwiki.ayo.biz/Event_driven_programming

Dan Moyer

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

Search



Quick Links

User menu

Not signed in.

Misc Menu