Click here to Skip to main content
15,893,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPainting a bitmap over a CStatic Bitmap Pin
29-Jun-01 7:07
suss29-Jun-01 7:07 
GeneralRe: Painting a bitmap over a CStatic Bitmap Pin
29-Jun-01 12:20
suss29-Jun-01 12:20 
GeneralRe: Painting a bitmap over a CStatic Bitmap Pin
29-Jun-01 13:56
suss29-Jun-01 13:56 
GeneralArrays n'stuff Pin
John Uhlenbrock29-Jun-01 7:04
John Uhlenbrock29-Jun-01 7:04 
GeneralRe: Arrays n'stuff Pin
Michael Dunn29-Jun-01 7:36
sitebuilderMichael Dunn29-Jun-01 7:36 
GeneralRe: Arrays n'stuff Pin
John Uhlenbrock29-Jun-01 10:32
John Uhlenbrock29-Jun-01 10:32 
GeneralRe: Arrays n'stuff Pin
Ben Burnett29-Jun-01 11:34
Ben Burnett29-Jun-01 11:34 
QuestionHow do I get LOGFONT from an IFont without using CFont? Pin
Bart-Man29-Jun-01 6:18
Bart-Man29-Jun-01 6:18 
Greetings,

I was wondering how I can get a LOGFONT from an IFont without using a CFont.
For I am in a atl object, and I don't have access to a CFont MFC class.

I am interested in getting the actual pixel size of the text, but the IFont's
get_Size() gets me the size in CY*pSize, and I don't know how to convert it
into the LOGFONT's lfHeight.
I assume that the text width is somehow store in the "CY" object, but I am not
sure how to work with it for I am very new to COM.


Thanks for any help.
AnswerRe: How do I get LOGFONT from an IFont without using CFont? Pin
PJ Arends29-Jun-01 17:00
professionalPJ Arends29-Jun-01 17:00 
AnswerRe: How do I get LOGFONT from an IFont without using CFont? Pin
Ben Burnett29-Jun-01 17:01
Ben Burnett29-Jun-01 17:01 
GeneralGetPrivateProfileString() keeps failing Pin
David Osborn29-Jun-01 5:49
David Osborn29-Jun-01 5:49 
GeneralRe: GetPrivateProfileString() keeps failing Pin
#realJSOP1-Jul-01 3:17
mve#realJSOP1-Jul-01 3:17 
QuestionWhat control should I use??? Pin
Michael Martin29-Jun-01 5:39
professionalMichael Martin29-Jun-01 5:39 
GeneralGetting keyboard calls from external application windows Pin
David Higgins29-Jun-01 4:25
David Higgins29-Jun-01 4:25 
GeneralRe: Getting keyboard calls from external application windows Pin
29-Jun-01 4:46
suss29-Jun-01 4:46 
GeneralSplitter Windows Pin
Drake Elsari29-Jun-01 4:08
Drake Elsari29-Jun-01 4:08 
GeneralRe: Splitter Windows Pin
Drake Elsari29-Jun-01 15:53
Drake Elsari29-Jun-01 15:53 
GeneralRe: Splitter Windows Pin
Ben Burnett29-Jun-01 16:55
Ben Burnett29-Jun-01 16:55 
GeneralRe: Splitter Windows Pin
Drake Elsari30-Jun-01 4:30
Drake Elsari30-Jun-01 4:30 
GeneralRe: Splitter Windows Pin
Drake Elsari30-Jun-01 8:08
Drake Elsari30-Jun-01 8:08 
GeneralRe: Splitter Windows Pin
Ben Burnett30-Jun-01 8:29
Ben Burnett30-Jun-01 8:29 
GeneralRe: Splitter Windows Pin
Drake Elsari30-Jun-01 14:48
Drake Elsari30-Jun-01 14:48 
GeneralInternational topix Pin
29-Jun-01 4:00
suss29-Jun-01 4:00 
GeneralCOleDateTime Pin
Gérald Mercet29-Jun-01 3:57
Gérald Mercet29-Jun-01 3:57 
GeneralRe: COleDateTime Pin
Bret Faller29-Jun-01 6:39
Bret Faller29-Jun-01 6:39 

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.