Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: push_back, push_front Pin
DaveE9th12-Jul-03 17:40
DaveE9th12-Jul-03 17:40 
GeneralOffsets and stuff Pin
Anonymous12-Jul-03 7:48
Anonymous12-Jul-03 7:48 
GeneralRe: Offsets and stuff Pin
Mike Dimmick12-Jul-03 8:27
Mike Dimmick12-Jul-03 8:27 
GeneralRe: Offsets and stuff Pin
Toni7813-Jul-03 11:08
Toni7813-Jul-03 11:08 
QuestionCan anyone help me?? Pin
Snyp12-Jul-03 6:47
Snyp12-Jul-03 6:47 
AnswerRe: Can anyone help me?? Pin
Christian Graus12-Jul-03 18:03
protectorChristian Graus12-Jul-03 18:03 
Generaltext drawing in spiral form Pin
Member 47204512-Jul-03 5:47
Member 47204512-Jul-03 5:47 
GeneralRe: text drawing in spiral form Pin
adamUK12-Jul-03 10:54
adamUK12-Jul-03 10:54 
Construct a CFont object and use the CFont::CreateFont( ) function to give you the attributes you need.

E.g.

CFont font, *pOldFont; //you will need pOldFont to store a pointer to the old font so you can reinstate it later.
font.CreateFont(....)

Load the font into the device context using pOldFont=pDC->SelectObject(&font)

Draw the text using pDC->DrawText(...);

When done reload the old font into the device context (pDC->SelectObject(pOldFont))

If you want spiral text then you will have to do some maths with sin and cos, adjusting nOrientation in the CFont object as you go.

Check out the CDC and CFont classes in MSDN.

Hope this helps

Adam.



My world tour
What I do now..

"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.

"I suppose if it was a choice between bon jovi and the interior of a car, the car would win, even it didnt have a radio and I had to sit in silence" James Simpson on Light Metal.
Generalstopping and resuming an application from mfc Pin
haritadala12-Jul-03 5:39
haritadala12-Jul-03 5:39 
GeneralProblem with LoadLibrary Pin
AnTri12-Jul-03 2:52
AnTri12-Jul-03 2:52 
GeneralRe: Problem with LoadLibrary Pin
Ryan Binns12-Jul-03 3:24
Ryan Binns12-Jul-03 3:24 
GeneralRe: Problem with LoadLibrary Pin
AnTri12-Jul-03 5:14
AnTri12-Jul-03 5:14 
GeneralRe: Problem with LoadLibrary Pin
Ryan Binns12-Jul-03 18:33
Ryan Binns12-Jul-03 18:33 
GeneralNesting splitter windows Pin
Bob Stanneveld12-Jul-03 2:08
Bob Stanneveld12-Jul-03 2:08 
GeneralRe: Nesting splitter windows Pin
Mike Nordell12-Jul-03 3:51
Mike Nordell12-Jul-03 3:51 
GeneralRe: Nesting splitter windows Pin
Bob Stanneveld12-Jul-03 4:20
Bob Stanneveld12-Jul-03 4:20 
GeneralRe: Nesting splitter windows Pin
Michael Dunn12-Jul-03 6:31
sitebuilderMichael Dunn12-Jul-03 6:31 
GeneralRe: Nesting splitter windows Pin
Bob Stanneveld12-Jul-03 6:50
Bob Stanneveld12-Jul-03 6:50 
GeneralRe: Nesting splitter windows Pin
JohnJ12-Jul-03 6:50
JohnJ12-Jul-03 6:50 
GeneralRe: Nesting splitter windows Pin
Bob Stanneveld12-Jul-03 6:55
Bob Stanneveld12-Jul-03 6:55 
GeneralCHTMLView and FTP Pin
gilm12-Jul-03 2:01
gilm12-Jul-03 2:01 
Generallocale's and facets Pin
Taka Muraoka12-Jul-03 0:30
Taka Muraoka12-Jul-03 0:30 
GeneralRe: locale's and facets Pin
Mike Nordell12-Jul-03 3:55
Mike Nordell12-Jul-03 3:55 
GeneralRe: locale's and facets Pin
Taka Muraoka12-Jul-03 4:00
Taka Muraoka12-Jul-03 4:00 
GeneralHelp with ADODC in Visual C++ Pin
vanceliang11-Jul-03 22:26
vanceliang11-Jul-03 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.