Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to store login/password in Windows Registry? Pin
David Crow18-Jan-06 4:04
David Crow18-Jan-06 4:04 
AnswerRe: How to store login/password in Windows Registry? Pin
Nish Nishant18-Jan-06 4:41
sitebuilderNish Nishant18-Jan-06 4:41 
GeneralRe: How to store login/password in Windows Registry? Pin
James R. Twine18-Jan-06 6:34
James R. Twine18-Jan-06 6:34 
AnswerRe: How to store login/password in Windows Registry? Pin
ThatsAlok19-Jan-06 0:29
ThatsAlok19-Jan-06 0:29 
QuestionHow do I display text orientated 90 degrees Pin
britboyjohnson18-Jan-06 2:49
britboyjohnson18-Jan-06 2:49 
AnswerRe: How do I display text orientated 90 degrees Pin
David Crow18-Jan-06 2:58
David Crow18-Jan-06 2:58 
AnswerRe: How do I display text orientated 90 degrees Pin
basementman18-Jan-06 4:23
basementman18-Jan-06 4:23 
AnswerRe: How do I display text orientated 90 degrees Pin
FarPointer18-Jan-06 6:17
FarPointer18-Jan-06 6:17 
Hi ,
Try this one out ,the 900 is specified because its in .1 degree ,
ie 900 * .1 = 90 degree
CPaintDC dc(this); // device context for painting<br />
CFont font;<br />
VERIFY(font.CreateFont(<br />
   12,                        // nHeight<br />
   0,                         // nWidth<br />
   900,                         // nEscapement<br />
   0,                         // nOrientation<br />
   FW_NORMAL,                 // nWeight<br />
   FALSE,                     // bItalic<br />
   FALSE,                     // bUnderline<br />
   0,                         // cStrikeOut<br />
   ANSI_CHARSET,              // nCharSet<br />
   OUT_DEFAULT_PRECIS,        // nOutPrecision<br />
   CLIP_DEFAULT_PRECIS,       // nClipPrecision<br />
   DEFAULT_QUALITY,           // nQuality<br />
   DEFAULT_PITCH | FF_SWISS,  // nPitchAndFamily<br />
   _T("Arial")));                 // lpszFacename<br />
<br />
<br />
 <br />
CFont* def_font = dc.SelectObject(&font);<br />
dc.ExtTextOut(50, 50, ETO_OPAQUE, NULL, _T("Hello"), NULL);<br />
dc.SelectObject(def_font);


Regards,
FarPointer
GeneralRe: How do I display text orientated 90 degrees Pin
britboyjohnson18-Jan-06 11:45
britboyjohnson18-Jan-06 11:45 
AnswerRe: How do I display text orientated 90 degrees Pin
Stephen Hewitt18-Jan-06 15:17
Stephen Hewitt18-Jan-06 15:17 
QuestionProblem in finding default browser Pin
Aryan S18-Jan-06 2:43
Aryan S18-Jan-06 2:43 
QuestionRe: Problem in finding default browser Pin
David Crow18-Jan-06 2:46
David Crow18-Jan-06 2:46 
AnswerRe: Problem in finding default browser Pin
ThatsAlok18-Jan-06 19:50
ThatsAlok18-Jan-06 19:50 
QuestionTOXCCT is right Pin
Rajesh R Subramanian18-Jan-06 2:38
professionalRajesh R Subramanian18-Jan-06 2:38 
AnswerRe: TOXCCT is right Pin
toxcct18-Jan-06 2:49
toxcct18-Jan-06 2:49 
AnswerRe: TOXCCT is right Pin
Rage18-Jan-06 6:20
professionalRage18-Jan-06 6:20 
AnswerRe: TOXCCT is right Pin
ThatsAlok18-Jan-06 19:14
ThatsAlok18-Jan-06 19:14 
GeneralRe: TOXCCT is right Pin
Rajesh R Subramanian19-Jan-06 17:47
professionalRajesh R Subramanian19-Jan-06 17:47 
AnswerRe: TOXCCT is right Pin
Toby Opferman20-Jan-06 13:06
Toby Opferman20-Jan-06 13:06 
Questionmultithreading + winsock Pin
yamunasenthilvel18-Jan-06 2:08
yamunasenthilvel18-Jan-06 2:08 
AnswerRe: multithreading + winsock Pin
vikas amin18-Jan-06 2:19
vikas amin18-Jan-06 2:19 
GeneralRe: multithreading + winsock Pin
yamunasenthilvel18-Jan-06 2:29
yamunasenthilvel18-Jan-06 2:29 
GeneralRe: multithreading + winsock Pin
yamunasenthilvel18-Jan-06 3:02
yamunasenthilvel18-Jan-06 3:02 
QuestionRe: multithreading + winsock Pin
David Crow18-Jan-06 4:05
David Crow18-Jan-06 4:05 
AnswerRe: multithreading + winsock Pin
yamunasenthilvel18-Jan-06 4:18
yamunasenthilvel18-Jan-06 4:18 

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.