Click here to Skip to main content
15,915,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating a color table Pin
CPallini4-Jun-07 3:57
mveCPallini4-Jun-07 3:57 
QuestionSpecific editing of a CString Pin
jasn Smith4-Jun-07 2:50
jasn Smith4-Jun-07 2:50 
AnswerRe: Specific editing of a CString Pin
_AnsHUMAN_ 4-Jun-07 3:10
_AnsHUMAN_ 4-Jun-07 3:10 
AnswerRe: Specific editing of a CString Pin
David Crow4-Jun-07 3:29
David Crow4-Jun-07 3:29 
QuestionFont Size Displays [modified] Pin
_AnsHUMAN_ 4-Jun-07 2:48
_AnsHUMAN_ 4-Jun-07 2:48 
AnswerRe: Font Size Displays Pin
Arman S.4-Jun-07 3:15
Arman S.4-Jun-07 3:15 
GeneralRe: Font Size Displays [modified] Pin
_AnsHUMAN_ 4-Jun-07 3:24
_AnsHUMAN_ 4-Jun-07 3:24 
AnswerRe: Font Size Displays Pin
Mark Salsbery4-Jun-07 4:47
Mark Salsbery4-Jun-07 4:47 
Font heights are in logical units. MS WORD is WYSIWYG so the logical units you enter in the
font dialog are converted to the correct size font based on the size of the displayed document.

If you aren't worried about exact font sizes, use an arbitrary negative height.
If you need your font size based on actual dimensions then you'll need to convert the logical
units to device units: Height = -MulDiv(PointSize, GetDeviceCaps(hdc, LOGPIXELSY), 72);

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

Questionsubclassing an activex control in mfc [modified] Pin
dkmr4-Jun-07 2:27
dkmr4-Jun-07 2:27 
AnswerRe: subclassing an activex control in mfc Pin
Naveen4-Jun-07 15:54
Naveen4-Jun-07 15:54 
Questionhow to make an indicator Pin
bigphish4-Jun-07 2:14
bigphish4-Jun-07 2:14 
AnswerRe: how to make an indicator Pin
David Crow4-Jun-07 3:32
David Crow4-Jun-07 3:32 
GeneralRe: how to make an indicator Pin
vivekphlp4-Jun-07 23:38
vivekphlp4-Jun-07 23:38 
GeneralRe: how to make an indicator Pin
David Crow5-Jun-07 2:37
David Crow5-Jun-07 2:37 
GeneralRe: how to make an indicator Pin
vivekphlp5-Jun-07 18:31
vivekphlp5-Jun-07 18:31 
QuestionAdding a new image (img tag) to the document in Internet Explorer Pin
ajitatif angajetor4-Jun-07 1:30
ajitatif angajetor4-Jun-07 1:30 
QuestionHow to align toolbars? Pin
Anurag Gandhi4-Jun-07 1:13
professionalAnurag Gandhi4-Jun-07 1:13 
GeneralRe: How to align toolbars? Pin
Rajkumar R4-Jun-07 1:24
Rajkumar R4-Jun-07 1:24 
GeneralRe: How to align toolbars? Pin
Anurag Gandhi4-Jun-07 1:38
professionalAnurag Gandhi4-Jun-07 1:38 
AnswerRe: How to align toolbars? [modified] Pin
Rajkumar R4-Jun-07 3:21
Rajkumar R4-Jun-07 3:21 
GeneralRe: How to align toolbars? Pin
Anurag Gandhi4-Jun-07 5:24
professionalAnurag Gandhi4-Jun-07 5:24 
QuestionVector of Pointers Pin
Kevin Brydon4-Jun-07 0:35
Kevin Brydon4-Jun-07 0:35 
AnswerRe: Vector of Pointers Pin
Maximilien4-Jun-07 0:56
Maximilien4-Jun-07 0:56 
AnswerRe: Vector of Pointers Pin
CPallini4-Jun-07 0:57
mveCPallini4-Jun-07 0:57 
GeneralRe: Vector of Pointers Pin
Rajkumar R4-Jun-07 1:19
Rajkumar R4-Jun-07 1:19 

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.