![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Sup guys,
How would I forcefully set a font size in my program and not allow to change(so default font has no effect)? Thanks. |
|
|
|
|
|
#2 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Re: Font -
How should we know how your font system works do you think?
__________________
http://www.klarre.se |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: Font -
I don't understand, please elaborate.
Thanks. |
|
|
|
|
|
#4 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Re: Font -
* Are you using some kind of font library?
* What kind of fonts are you using? TTF or bitmap fonts? * Is the font implementation operating system specific? If it is - what OS are you using? * ... Gives us some more clues, and we will help you! ![]() /Klarre
__________________
http://www.klarre.se |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: Font -
Oh lol
You mis-understood, what I was asking was "How do I set a font for a dialog box? And not use a default system font?".Thanks. |
|
|
|
|
|
#6 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Re: Font -
Hehe, ok!
But still - font for dialog boxes in what operating system?
__________________
http://www.klarre.se |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: Font -
WinXP
|
|
|
|
|
|
#8 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Re: Font -
This function call might help you.
SendMessage(mYourDialogTextHwnd, WM_SETFONT, (WPARAM)hFont, TRUE);
__________________
http://www.klarre.se |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [WIN32 API] GUI widgets font size | Klarre | C++ | 3 | Sep 3rd, 2007 1:08 PM |
| Cant Change Font Properties, Urgent | brokenhope | Visual Basic .NET | 11 | Sep 20th, 2005 3:42 PM |
| String to Font | squishiful | Visual Basic .NET | 3 | Jun 21st, 2005 9:26 PM |
| changing font style | blueandconfused | HTML / XHTML / CSS | 4 | May 2nd, 2005 3:46 PM |
| colors. fonts and font size inside the table ?_? | cloud- | HTML / XHTML / CSS | 2 | Mar 12th, 2005 3:10 PM |