![]() |
Bolding - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Bolding (/showthread.php?tid=1781) |
Bolding - Ramsey - 23-05-2008 How do I make the text blt in bold? And how do i make the texts in text boxes bold? Re: Bolding - Pbcrazy - 23-05-2008 well for a text box i believe you just put Code: txtBox.FontBold = True but if your planning on using it for a chat system i would suggest switching it to a richtext box instead, that allows for colors and such. as for blt i have no clue Re: Bolding - Pbcrazy - 23-05-2008 ok just took a look at the AddText sub. that would be very easy to put in. all you have to do is add this Code: frmMirage.txtChat.SelBold = True but other wise idk. Re: Bolding - GIAKEN - 23-05-2008 Bolding is easy. Code: Public Sub DrawText(ByVal hdc As Long, _ You can still keep the normal DrawText around, but if you want to do something bold then just do DrawText(blahblah, True). Not sure how it would look...probably really hard to read (depending on font). Re: Bolding - Ramsey - 24-05-2008 Is that the only way to do it? I looks really crappy when I do it. Thanks Pbcrazy, that did the trick. Re: Bolding - Rezeyu - 24-05-2008 Wouldn't.. it be easier to just CreateFont with a bold setting? o.O Re: Bolding - Robin - 24-05-2008 Lmao GIAKEN, that's some stroke effect code. For the font, go to the top of GameLoop, where it should show the font name in quotations. Still within the quotations afters the font name, simply add 'Bold'. Re: Bolding - Ramsey - 24-05-2008 It works ![]() Re: Bolding - Pbcrazy - 25-05-2008 Ramsey Wrote:Is that the only way to do it? I looks really crappy when I do it. np glad i could help. Re: Bolding - GIAKEN - 26-05-2008 Well I don't do what I posted, because I don't use Bold...but I just put that together because I read that the default font MS uses doesn't support bold... Re: Bolding - Rezeyu - 26-05-2008 You can stil lset it to bold, I think bold is like.. 700, and Italic is 400. |