SandeepMathew wrote:
@mystran : Win32 API does violate an important principle - put less burden on end users short term memory . I find myself refering the Win32.hlp file provided by Borland or msdn freqently , whenever i need to do something and it does reduce my productivity .
Quiz ?
How many parameters does CreateFont take ?
Answer: type CreateFont( into Visual Studio, and IntelliSense will tell you. It'll also tell you the relevant types and formal parameter names.
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
Glorification of Visual Studio was not my intention , yes Visual Studio is good and I am not against Microsoft . But during my good old days , i only used the command line tools provided by borland and mingw . So it was a bit difficult for me .
It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.
(And I always use CreateFontIndirect() -- and I have enough code examples laying around that I almost always can cut-and-paste good code snippets, rather than counting arguments. Yes, the argument lists on the Win32 API stink.)
It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.
I would check out gtkmm if you're looking for a more 'pure' C++ experience with GTK.
bewing wrote:It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.
(And I always use CreateFontIndirect() -- and I have enough code examples laying around that I almost always can cut-and-paste good code snippets, rather than counting arguments. Yes, the argument lists on the Win32 API stink.)
I haven’t used WxWidgets, but have heard good opinions about it from people who have used it. But I guess gtk is easier to get started. It’s your choice: D
I tried wxWidgets a bit, but it wasn't flexible enough. Everything I wanted to do was only supported on the Windows port of the software -- which isn't helpful, since I already have a Win version of my software. Child window docking, resizing, autoscrolling, subitem hit testing, and focus redirection were all looking difficult on other platforms.
So I'm looking at GTK and Glade now. Having trouble compiling Glade, though -- too many dependencies, and a really bad configure script. Fortunately, Glade isn't needed at runtime.