About HMG Design...

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

About HMG Design...

Post by Roberto Lopez »

Hi All,

From the start of HMG in early 2002, I've talked about the goal of 'hide operating system complexities'. Sometimes, I've used other words, but the idea is the same.

The release 2.5.5 is a good demostration of this concept.

Windows API includes two Combobox controls.

The standard combo and an enhanced version, capable of image handling.

IMHO, from an high level programmer point of view, must be only one combo in his toolbox, capable of handle images, if desired.

I could add a second combobox control (I could call it 'SuperCombo':) but IMHO it has no sense.

Instead that, the only thing that HMG programmers must care about, is that they have a new property called 'Image' for ComboBox control. That's all.

If you take a look at \hmg\source\c_combo.c file, you'll find two different functions to create a combo, depending on 'image' property content, but it is transparent for the HMG programmer.

There is lots of things required for Win32 API like IDs, ImageLists, Font objects, or pens that I've hide too.

This way, the programmer, can focus on the problem to solve via his application, instead the OS internals.

This is the xBase spirit. This is the HMG spirit too.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: About HMG Design...

Post by Rathinagiri »

Each and every letter is worth millions. :)

No words are here to thank Roberto.

Simple handling of Windows controls with out any handles. ;)

That IS HMG Power.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: About HMG Design...

Post by esgici »

Thanks a lot Roberto.

This spirit made us "Windows lovers" and because of this we love you ! :oops:

Best regards
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: About HMG Design...

Post by Roberto Lopez »

esgici wrote:Thanks a lot Roberto.
This spirit made us "Windows lovers" and because of this we love you ! :oops:
Please... I'm a married man :)

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: About HMG Design...

Post by esgici »

Roberto Lopez wrote:
esgici wrote:Thanks a lot Roberto.
This spirit made us "Windows lovers" and because of this we love you ! :oops:
Please... I'm a married man :)

Regards,

Roberto.
:D :D :D

Best Regards
Viva INTERNATIONAL HMG :D
Post Reply