Re: New to Euphoria and GUI
- Posted by aku saya <akusaya at gmx.net> Jun 16, 2003
- 410 views
Maybe you haven't tried IDE for win32lib. It has a nice and easy-to-use GUI to design your programs, and for the flags thing, you can see "Style" on the properties and you can select the avaliable styles by right clicking on it or select menu Edit/Visual Window Styles Explorer.. I think win32lib is more recommended since it is still developed actively and more users use it. About the System Wide HotKey, you can use it like this: - Open IDE (please use IDE rather than typing manually it is much more interesting). - Press Ctrl+A to open "Manage Include Statements" - Add "hotkey.e" - Double click the Window in the IDE. - Change the second dropdown from "w32HClick" to "(General)" - type something like this: procedure Window1_onHotKey(object id) setText(Window1, "Hotkey with id " & sprintf(id) & " is pressed") end procedure onHotKey = routine_id("Window1_onHotKey") - then type the others using the library's documentation (setHotKey, killHotKey, etc) R> Greetings All R> I am new to Euphoria and GUI programming, although an experienced=20 R> programmer. I was looking around for a decent tool for programming=20 R> because QBASIC limitations were annoying me and I wanted to write a=20 R> couple of programs that would be used by a other people and so needed to= R> =20 R> look nice and be easy to learn to use. R> I found Euphoria and have decided that this is really a great tool for=20 R> what I want to do, and it is clear that there are lots of people doing=20 R> many of the things I want to do with Euphoria, and this forum is very=20 R> active. Great! I have downloaded about a hundred things already. R> Clearly a number of people have put a great deal of effort into Win32Lib= R> =20 R> and many other tools available. However being inexperienced in GUI I=20 R> cannot understand the jargon and the help information in Win32Lib. R> The Encyclop=E6dia Euphoria is very useful for finding help on lots of=20 R> stuff, but it doesn't answer my basic questions about GUI terminology.=20 R> When I look up "create" it tells me that one of the fields is "flags"=20 R> but there doesn't seem to be a list anywhere of the available flags. R> Then I found EUwinGUI which is much simpler that Win32Lib but still does= R> =20 R> everything I want to do with a window (I think). Also, the Window=20 R> Designer is an easy way to make nice looking stuff and to see the code=20 R> and begin to learn the jargon from that. Well done Andrea Cini! R> If anyone knows of a web site or DLable help file that gives a basic=20 R> course in GUI terminology and the possible values for flags, options etc= R> =20 R> then I would like to know about that. R> You can expect some questions from me in the near future. In fact there= R> =20 R> is one coming right up after this post R> Happy programming R> Ray Tomes