( By Roberto Lopez, builder of HMG )
Well.. for the new people approaching HMG I can say that this is a mix between one of the best programming and data manipulation languages ever created (xBase) and the VB/RapidQ GUI handling style.
All GUI object are public and can be created and managed with very simple code.
The basic components of HMG are:
– Harbour Compiler (generates C code from xBase code).
– Harbour MiniGUI library (functions and preprocessor directives to handle GUI).
– MingW Compiler.
– Harbour MiniGUI IDE (Optional tool for two-way visual design).
What are the main project goals ?
To keep the GUI handling as easy, elegant and clean as possible and the
library core as compact, stable and reliable as we can.
It implies, that the changes to the core will be subject to very strict test
prior tag a specific build as ‘stable’.
Other of the main goals is to hide the complexities associated with the
operating system internals, allowing to the programmer, focus on his
application, instead OS technical things.
So, what is the place for experimentation and exciting new ‘things’ ?
The User components interface, of course.
I’ve created to let to any HMG user to add fully new GUI elements, or add
properties and events to existing ones.
Where is the HMG site ?
Where can I download HMG ?
Why Roberto doesn’t answer my messages ?
I have a very little free time for HMG right now. Anyway I’m reading
and answering the Sorceforge’s HMG bug tracker and Wish tracker,
almost daily, please use it.
Does HMG will be ‘real’ OOP some day in the future ?
What about user contributions?
I’ve noticed about comments like “Roberto does not accept code contributions
This is true, but need some clarification.
In 2005 I’ve decided to change the way I work on minigui.
From that moment I do all modifications to the library personally, but I still receiving comments, suggestions ideas and wishes from the users.
The reason for this, is that I want to keep the control of the code included in the library, to assure that it remains compact, fast, stable, reliable and backwards compatible, keeping and eye on general project goals (enumerated in the previous message).
An example of this, is the recent Activex addition.
I’ve noticed that this feature was incorporated to the Freewin project.
I’ve analyzed the code, learned how it works ant then rewrote it
from the scratch to suit minigui library needs.
This way, I’m not incorporating a ‘black box’ to the library that
could be difficult or impossible to fix or modify. I’m incorporating
code that is simple and easy to maintain.
I can make mistakes and write buggy code (of course) but there is a big possibility that I’m be able to fix it, since I’ve wrote it.
So, You can send to me (to HMG wish tracker at SourceForge) sample code with your propossed addition. I’ll take a look at it.
What about other MiniGUI based projects… ?
Why do not all MiniGUIs guys unite and work together ?
I’ll could add another question:
Why the humanity does not unite and work together?
Well… I apreciate and respect a lot to Grigory, Jacek and Janusz from MiniGUI Extended and to Ciro and Vicente from OOHG. All of them are doing a great work, but simply we have different opinions about of what MiniGUI has to be. Thats all.
This is very good for users, since they have three alternatives to choice.
I feel very honored because two new projects emerged from my original work.
Why do not add to library a nice widget that do something… ? it could be good for my application that needs it.
I could write now a long explanation about the need that the features added to the core library must be generic, designed to fill the needs of most common programming situations and not to solve a specific user’s problem.
Fortunately you could get the Simpsons episode 7F16
In this episode Homer designs a car to suit his own needs. Of course, the car was a monstrosity very expensive and (of course) a complete failure.
Perhaps there is no need to watch the episode to get the idea, maybe that this image be enough:
If the idea is not clear enough yet, here is a little explanation:
Adding lot of things, designed to suit specific (very unusual situations) to the library core, will give us a fat, slow, buggy and difficult to learn GUI system. I’ll avoid it as much as I can.
Why do you don’t release the HMG IDE source code?
Which are your obscure intentions about it?
IDE is a very big application. It has about 41000 lines of code.
To make it run faster it relies heavily on MiniGUI library internals and some C code to cover low level things not implemented on the library.
Since it relies on library internals, sometimes, modifications to library, obligate to me to make changes (usually extensive) to IDE code.
IMHO these (and other things) turn this project into a personal one, not suitable to make its code public.
Anyway, I not discard the possibility to make the code public in the future.
I can only assure that IDE will always be FREELY DISTRIBUTED as freeware.
There is no evil intentions behind this decision
Maybe there is a problem (not fully specified) with control XXX
but I’m not sure. Can you fix it please?
My application is not working as expected. I’ve attached to the message all app 5000 lines of code. I guess that must be an HMG problem, please solve it.
Ok. I’ll say once again
I cannot analyze a presunct bug based on a tale about it, or read a thousand lines app to attempt to find it. It is very time consuming and inefficient way to go.
Please, send me a simple sample showing the bug, to SourceForge HMG bug tracker. The sample must include all necessary files to compile and run it.
If you are not able to reproduce the problem in a small sample, is highly probable that be not an HMG problem, but a error in your app.
Do you accept donations?
In early 2004, the total suscriptors in all MiniGUI forums was more
I’ve took about three hours a day (sometimes more) to answer all the messages directed to me with help requests.
So, I’ve think that request for donations from the MiniGUI users could be a good idea. It could allow to me, dedicate full time to the project, filling the needs of those using the library to develop professional apps.
Sadly, with the exception of a small group of users, there was no
Some time later, I’ve decided to remove donations request from the HMG releases due to the lack of interest from the users.
Based on that experience, I have no plans to do it again.
2. This article borrowed courtesy of author from HMG_Forum.
3. Do you like HMG ? If so, don’t forget this !