Improvements on Msgxxx functions

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Improvements on Msgxxx functions

Post by esgici » Wed Aug 07, 2013 8:37 pm

Hi All

Do you read changelogs ?

If so, did you noticed improvements on msg functions ?

If no, please listen :

Now, all Msgxxx functions accept all type of data ( even in title ( except array ) );
not only characters, even others, including arrays :o

( MsgMulti() has been replaced :( )

Now, we have a new ( and highly useful ) msg function MsgDebug() with an extra feature: this function accept "elastic" count of parameters :o

And another very handy debug function : ListCalledFunctions()

( WhereIsIt() has been replaced :( )

This little sample will try demonstrate these important ( at least for me ;) ) enhancement in HMG.

Please don't take wrong; absolutely I'm not sad by replaced my functions; on the contrary I'm very happy. Because of first, all advance in HMG make me happy. Second, these new functions are definitely better than mine. And third, system functions are always better (both in speed and safety) than UDFs.

Viva HMG, viva Dr. Soto :D
MsgFunc.jpg
Screen shoots of MsgFuncs sample
MsgFunc.jpg (141.42 KiB) Viewed 3668 times
MsgFuncs.zip
Source of MsgFuncs sample
(1.94 KiB) Downloaded 193 times
Viva INTERNATIONAL HMG :D

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Wed Aug 07, 2013 9:03 pm

Very nice examples Esgici also very usefull.

Thank you for share with us ! :)

By the way... at moment I wish to have a kind of MsgInfo with timer.
My idea would add a third parameter as optional at MsgInfo with a timer which autorelease in nSecconds...

I hope Dr. Soto can do it for us. Because I have tried this but is not workable before ACTIVATE window...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Thu Aug 08, 2013 4:20 am

Thank you Esgici for sharing
BPD
Convert Dream into Reality through HMG

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Thu Aug 08, 2013 5:24 am

Thanks a lot Esgici.

Apart from the example, I like your desktop background.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Thu Aug 08, 2013 6:17 am

Thanks Rathi :)
WP_D42118.jpg
A wallpaper
WP_D42118.jpg (185.33 KiB) Viewed 3621 times
Regards
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Thu Aug 08, 2013 6:31 am

Wow! It's really amazing.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
quartz565
Posts: 561
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 173 times
Been thanked: 20 times
Contact:

Post by quartz565 » Thu Aug 08, 2013 2:09 pm

Thank you for share Esgici!

Very nice examples.

Nikos
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines
Been thanked: 2 times

Post by dhaine_adp » Thu Aug 08, 2013 5:33 pm

Thank you very much Mr. Esgici for sharing this sample. :D Its helpful.
Regards,

Danny
Manila, Philippines

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Thu Dec 05, 2013 3:26 pm

I wish some extra improvements, if is possible for Dr. Soto.

In this topic I'm looking for a new feature that allows you to set the buttons captions of MessageBox as optional, which I think is not my necessity only, but of many.

Image

But I found something that could helps for new implements, if Claudio and the community considered:
Have you ever wanted to change the button captions for Message Boxes ? MFC does not provide any means for making this customization. The button captions (Yes, No, Ok, and so forth) are changed according the system language installed in the machine.
See this

Here is source C code
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Thu Dec 05, 2013 5:28 pm

Gracias por compartir Sr. Esgici :D

Post Reply