1. Text in Message Window
- Posted by Paul Kerslake <paulk at UNISERVE.COM> Jan 28, 2001
- 492 views
------=_NextPart_000_0005_01C0891A.F00FDBA0 charset="iso-8859-1" I'm having a bit of trouble with message boxes. I can't change the font = in them. Do you use setFont before you declare the message box, or after = with a repaint command. Can you help me? ----thanks -------thomas ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01 ------=_NextPart_000_0005_01C0891A.F00FDBA0 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I'm having a bit of trouble with = message boxes. I=20 can't change the font in them. Do you use setFont before you declare the = message=20 box, or after with a repaint command. Can you help me?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>----thanks</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>-------thomas</FONT></DIV> T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. <A HREF=3D"http://www.topica.com/partner/tag01">http://www.topica.com/partner/tag01</A></PRE> ------=_NextPart_000_0005_01C0891A.F00FDBA0--
2. Re: Text in Message Window
- Posted by wolfritz at KING.IGS.NET Jan 28, 2001
- 453 views
You can't use setFont with simple message boxes, ( msg_box() ), .. they aren't even a part of win32lib ! Since even getting a handle for these 'darlings' can be quite involved, why not just design your own modal window to use as a message box. Using: msgWin = createEx(Window,"title",mainWin,location,location,size_x,size_y, {WS_CAPTION},WS_EX_DLGMODALFRAME) .. and opening this as modal ... should be a good start. .. but don't forget, it needs an exit button Wolf ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01