Click here to Skip to main content
16,011,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RichEditCtrl problem Pin
Ricky_TheBard2-Jan-03 7:59
Ricky_TheBard2-Jan-03 7:59 
GeneralRe: RichEditCtrl problem Pin
RobJones2-Jan-03 8:40
RobJones2-Jan-03 8:40 
GeneralRe: RichEditCtrl problem Pin
Ricky_TheBard2-Jan-03 23:34
Ricky_TheBard2-Jan-03 23:34 
QuestionRotating TextOut() ? Pin
dazinith2-Jan-03 6:05
dazinith2-Jan-03 6:05 
AnswerRe: Rotating TextOut() ? Pin
Navin2-Jan-03 6:23
Navin2-Jan-03 6:23 
AnswerRe: Rotating TextOut() ? Pin
Chris Meech2-Jan-03 6:22
Chris Meech2-Jan-03 6:22 
AnswerRe: Rotating TextOut() ? Pin
Roger Allen2-Jan-03 6:42
Roger Allen2-Jan-03 6:42 
GeneralRe: Rotating TextOut() ? Pin
dazinith2-Jan-03 7:54
dazinith2-Jan-03 7:54 
thanks a ton for everyone's help Smile | :)

i had tried adjusting the nOrientation on the CreateFont() call, but it wasn't doing anything.. i ended up changing the nEscapement to 450 and that worked.. turned out i was using too small of units.. i had been trying 45 Smile | :) hehe

anyways it seems it is nEscapement, as it didn't work for nOrientation, however the descriptions in msdn makes it sound like you could do it either way..

thanks Smile | :)

CFont fnDemo;
fnDemo.CreateFont(
    1200, // nHeight
    0,  // nWidth
    450,    // nEscapement
    0,  // nOrientation
    FW_BOLD,    // nWeight
    TRUE,   // italic
    TRUE,   // underline
    0,  // strikeout
    ANSI_CHARSET,   // ncharset
    OUT_DEFAULT_PRECIS, // noutprecision
    CLIP_DEFAULT_PRECIS, //nclip precision
    DEFAULT_QUALITY,    // nQuality
    DEFAULT_PITCH | FF_SWISS,   // nPitchAndFamily
    "Courier New");
CFont* pOldFont = pDC->SelectObject(&fnDemo);


still a newb.. cut me some slack :P
-dz
GeneralRe: Rotating TextOut() ? Pin
Shog92-Jan-03 8:00
sitebuilderShog92-Jan-03 8:00 
GeneralReading a Binary Data File Pin
Frankie Lee2-Jan-03 4:50
Frankie Lee2-Jan-03 4:50 
GeneralRe: Reading a Binary Data File Pin
Joaquín M López Muñoz2-Jan-03 5:16
Joaquín M López Muñoz2-Jan-03 5:16 
GeneralRe: Reading a Binary Data File Pin
Frankie Lee2-Jan-03 12:52
Frankie Lee2-Jan-03 12:52 
QuestionHow to show system menu in client area? Pin
Subrahmanyam2-Jan-03 3:19
Subrahmanyam2-Jan-03 3:19 
AnswerRe: How to show system menu in client area? Pin
Joaquín M López Muñoz2-Jan-03 4:06
Joaquín M López Muñoz2-Jan-03 4:06 
GeneralRe: How to show system menu in client area? Pin
Subrahmanyam2-Jan-03 4:38
Subrahmanyam2-Jan-03 4:38 
AnswerRe: How to show system menu in client area? Pin
56789012342-Jan-03 4:15
56789012342-Jan-03 4:15 
GeneralRe: How to show system menu in client area? Pin
Subrahmanyam2-Jan-03 4:43
Subrahmanyam2-Jan-03 4:43 
Generaluniq new filename Pin
JGranborg2-Jan-03 2:33
JGranborg2-Jan-03 2:33 
GeneralRe: uniq new filename Pin
Joaquín M López Muñoz2-Jan-03 2:56
Joaquín M López Muñoz2-Jan-03 2:56 
GeneralRe: uniq new filename Pin
JGranborg2-Jan-03 20:58
JGranborg2-Jan-03 20:58 
GeneralUTF-8 to UCS-2 conversion tool (both ways ) Pin
gracias_carol2-Jan-03 2:01
gracias_carol2-Jan-03 2:01 
QuestionFormatted input? Pin
Jamie Hale2-Jan-03 1:56
Jamie Hale2-Jan-03 1:56 
AnswerRe: Formatted input? Pin
Joaquín M López Muñoz2-Jan-03 2:18
Joaquín M López Muñoz2-Jan-03 2:18 
GeneralRe: Formatted input? Pin
Jamie Hale2-Jan-03 2:30
Jamie Hale2-Jan-03 2:30 
GeneralRe: Formatted input? Pin
Joaquín M López Muñoz2-Jan-03 2:52
Joaquín M López Muñoz2-Jan-03 2:52 

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.