Page 1 of 1

Improvements on Msgxxx functions

Posted: Wed Aug 07, 2013 8:37 pm
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 7180 times
MsgFuncs.zip
Source of MsgFuncs sample
(1.94 KiB) Downloaded 397 times

Re: Improvements on Msgxxx functions

Posted: Wed Aug 07, 2013 9:03 pm
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...

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 4:20 am
by bpd2000
Thank you Esgici for sharing

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 5:24 am
by Rathinagiri
Thanks a lot Esgici.

Apart from the example, I like your desktop background.

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 6:17 am
by esgici
Thanks Rathi :)
A wallpaper
A wallpaper
WP_D42118.jpg (185.33 KiB) Viewed 7133 times
Regards

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 6:31 am
by Rathinagiri
Wow! It's really amazing.

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 2:09 pm
by quartz565
Thank you for share Esgici!

Very nice examples.

Nikos

Re: Improvements on Msgxxx functions

Posted: Thu Aug 08, 2013 5:33 pm
by dhaine_adp
Thank you very much Mr. Esgici for sharing this sample. :D Its helpful.

Improvements on Msgxxx functions

Posted: Thu Dec 05, 2013 3:26 pm
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

Re: Improvements on Msgxxx functions

Posted: Thu Dec 05, 2013 5:28 pm
by Javier Tovar
Gracias por compartir Sr. Esgici :D