IonicWind Software

IWBasic => GUI Central => Topic started by: billhsln on March 21, 2008, 11:24:47 PM

Title: Help with Messagebox
Post by: billhsln on March 21, 2008, 11:24:47 PM
I want to display a Messagebox using font "Courier New".  I need to have it display a fixed pitch font so what I want to display lines up.

What do I need to do?  I have tried:  SETFONT w1,"Courier New",10,400  and SETFONT w1,"Courier New",10,400,0
neither seems to give me the result I want.

Thanks,
Bill
Title: Re: Help with Messagebox
Post by: Ionic Wind Support Team on March 22, 2008, 01:48:52 AM
Bill, if you are referring to the built in MessageBox command then you can't change the font for it, the OS uses the font chosen in the users profile.

If you are talking about a custom built dialog then you would set the font of the static control you're using to display the text.

Paul.
Title: Re: Help with Messagebox
Post by: billhsln on March 22, 2008, 10:27:07 AM
That is what I needed to know.  I am using Messagebox.  Will create a Dialog.  I want it to align correctly.

Thanks,
Bill