About HMG Design...

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
Roberto Lopez
HMG Founder
Posts: 3899
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 135 times

About HMG Design...

Post by Roberto Lopez » Tue Aug 12, 2008 2:40 am

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: 5160
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 127 times
Been thanked: 128 times
Contact:

Post by Rathinagiri » Tue Aug 12, 2008 3:02 am

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: 4332
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 221 times
Been thanked: 76 times
Contact:

Post by esgici » Tue Aug 12, 2008 9:29 am

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: 3899
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 135 times

Post by Roberto Lopez » Tue Aug 12, 2008 12:13 pm

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: 4332
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 221 times
Been thanked: 76 times
Contact:

Post by esgici » Tue Aug 12, 2008 12:35 pm

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