FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MsgInfo() doubt
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
MsgInfo() doubt
Posted: Mon Jan 27, 2025 06:49 PM

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.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: MsgInfo() doubt
Posted: Tue Jan 28, 2025 04: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.

Regards



G. N. Rao.

Hyderabad, India
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: MsgInfo() doubt
Posted: Wed Jan 29, 2025 01:07 AM
nageswaragunupudi wrote: 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!
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: MsgInfo() doubt
Posted: Wed Jan 29, 2025 06:53 AM
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: MsgInfo() doubt
Posted: Wed Jan 29, 2025 06:14 PM

Continue the discussion