Re: Win32Lib or wxEuphoria
- Posted by CChris <christian.cuvier at agricu?ture.gouv?fr> Dec 11, 2007
- 485 views
Matt Lewis wrote: > > Mike777 wrote: > > > > For some reason, when I initially searched this forum, I didn't find the > > messages > > comparing Win32Lib and wxEuphoria. > > > > Based on what I've read, with an application that is intended solely for > > Windows > > machines, sticking with Win32Lib seems to make the most sense. > > > > So I'll change my question a bit: is there any reason to re-visit that issue > > based on the latest incarnation of wxEuphoria (0.11) or the underlying new > > version > > of wxWidgets (2.8)? > > I'll add my biased view (although I've been a developer on both libraries). > > There are some additional features in wxEuphoria, such as regular expressions, > built in sizers--there is a 3rd party lib for use with win32lib, but in > my experience, the wxWidgets sizers are superior. There are probably other > things, some of which might be important for your project. > From 70.1 onward, the registerNotification() routine has been upgraded so as to do what it had been supposed to do, ie forward events to other controls and have some control over these event forwardings. Using this, you can send resize notifications to any (child) control, for example. One thing I plan (not for 70.3) is to allow relative dimensions to be evaluated again when anything they use in their definition formula changes. A new style flag will be added, so that you can choose between static (current course) and dynamic dimensions/positions for a control. I like the idea that you don't have to specify absolue dimnsions for controls too, because it's the OS job actually - that's how Vision 2 works (GUI for Eiffel). However, this is alien to how win32lib has worked from day one, so that cannot be changed drastically, and will be fun to add. I think 70.3 will close part of he gap in terms of capabilities. There is still plenty of things that would be useful to add - but is there demand for them in the world of simple programming? I've never seen much request for layered window support or custom control drawing (which you need to add a vertical bitmap bar to menus for instance). CChris > There is still a lot of wxWidgets functionality that wxEuphoria hasn't tapped > > yet. It's usually a matter of adding some wrappers to wxEuphoria, which is > actually pretty simple these days (assuming there's nothing too complicated > going on). > > Perhaps the biggest advantage is that wxEuphoria supports unicode. v0.12 > (probably to come out soon) added some capabilities to convert between > UTF8 and the native format (UTF16, I believe) used by wxWidgets. > > Matt