Improvements on Msgxxx functions

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Improvements on Msgxxx functions

Post by esgici »

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
Screen shoots of MsgFuncs sample
Screen shoots of MsgFuncs sample
MsgFunc.jpg (141.42 KiB) Viewed 7168 times
MsgFuncs.zip
Source of MsgFuncs sample
(1.94 KiB) Downloaded 394 times
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Improvements on Msgxxx functions

Post by Pablo César »

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: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Improvements on Msgxxx functions

Post by bpd2000 »

Thank you Esgici for sharing
BPD
Convert Dream into Reality through HMG
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: Improvements on Msgxxx functions

Post by Rathinagiri »

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: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Improvements on Msgxxx functions

Post by esgici »

Thanks Rathi :)
A wallpaper
A wallpaper
WP_D42118.jpg (185.33 KiB) Viewed 7121 times
Regards
Viva INTERNATIONAL HMG :D
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: Improvements on Msgxxx functions

Post by Rathinagiri »

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: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: Improvements on Msgxxx functions

Post by quartz565 »

Thank you for share Esgici!

Very nice examples.

Nikos
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines

Re: Improvements on Msgxxx functions

Post by dhaine_adp »

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

Improvements on Msgxxx functions

Post by Pablo César »

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

Re: Improvements on Msgxxx functions

Post by Javier Tovar »

Gracias por compartir Sr. Esgici :D
Post Reply