MsgInfo() doubt

Post Reply
wartiaga
Posts: 219
Joined: Wed May 25, 2016 1:04 am

MsgInfo() doubt

Post by wartiaga »

Hi,
Is there any way to center the text in the following msginfo(),msgyesno(),msgAlert() functions? delimit the size of the first line and center the rest on the second line?

Thanks in advance.
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: MsgInfo() doubt

Post by nageswaragunupudi »

All Msg.... () functions (eg. MsgInfo(), MsgYesNo(), ... etc) display the messages using Windows API function MessageBoxEx(...) and the display is by Windows OS and we have no control on that.

If we want a different appearance, we need to write our own functions.
Regards

G. N. Rao.
Hyderabad, India
wartiaga
Posts: 219
Joined: Wed May 25, 2016 1:04 am

Re: MsgInfo() doubt

Post by wartiaga »

nageswaragunupudi wrote: Tue Jan 28, 2025 4:49 am All Msg.... () functions (eg. MsgInfo(), MsgYesNo(), ... etc) display the messages using Windows API function MessageBoxEx(...) and the display is by Windows OS and we have no control on that.

If we want a different appearance, we need to write our own functions.
Ok, thank you Mr. Nages!
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: MsgInfo() doubt

Post by Otto »

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
wartiaga
Posts: 219
Joined: Wed May 25, 2016 1:04 am

Re: MsgInfo() doubt

Post by wartiaga »

Otto wrote: Wed Jan 29, 2025 6:53 am I posted my metromsginfo() here:

viewtopic.php?p=266623&hilit=I+use+a+di ... le#p266623
Thank You Otto!
Post Reply