23-05-2008, 03:56 PM
How do I make the text blt in bold? And how do i make the texts in text boxes bold?
Bolding
|
23-05-2008, 03:56 PM
How do I make the text blt in bold? And how do i make the texts in text boxes bold?
23-05-2008, 04:41 PM
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
23-05-2008, 04:54 PM
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.
23-05-2008, 09:13 PM
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).
24-05-2008, 03:12 AM
Is that the only way to do it? I looks really crappy when I do it.
Thanks Pbcrazy, that did the trick.
24-05-2008, 03:24 AM
Wouldn't.. it be easier to just CreateFont with a bold setting?
o.O
24-05-2008, 12:31 PM
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'. Quote:Robin:
24-05-2008, 08:01 PM
It works
![]()
25-05-2008, 01:21 AM
Ramsey Wrote:Is that the only way to do it? I looks really crappy when I do it. np glad i could help.
26-05-2008, 01:17 AM
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...
26-05-2008, 01:43 AM
You can stil lset it to bold, I think bold is like.. 700, and Italic is 400.
|
« Next Oldest | Next Newest »
|