setting the font ?
-
Hi.. just a simple question How do i set the font when i want to display a text?? e.g. pDC->TextOut (0, 100, "HELLO WORLD"); how do i set the font of "hello world" to font-size 24 and Arial... Thanks to ALL....
look up cdc - selectobject in the msdn help stuff :) --- "every year we invent better idiot proof systems and every year they invent better idiots ... and the linux zealots still aren't being sterilized"
-
Hi.. just a simple question How do i set the font when i want to display a text?? e.g. pDC->TextOut (0, 100, "HELLO WORLD"); how do i set the font of "hello world" to font-size 24 and Arial... Thanks to ALL....
take a look at SelectObject Nish
-
Hi.. just a simple question How do i set the font when i want to display a text?? e.g. pDC->TextOut (0, 100, "HELLO WORLD"); how do i set the font of "hello world" to font-size 24 and Arial... Thanks to ALL....
Use
DrawText()
instead, also create and select aCFont
beforehand usingCFont::CreatePointFont
. --- Simon decided that his 'ironlung' nickname sounded kinda stupid, so he decided to use his real name -
Use
DrawText()
instead, also create and select aCFont
beforehand usingCFont::CreatePointFont
. --- Simon decided that his 'ironlung' nickname sounded kinda stupid, so he decided to use his real name