Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: non document - view architecture Pin
Mark Salsbery11-Mar-07 7:43
Mark Salsbery11-Mar-07 7:43 
QuestionASSERTION FAILURE in C++ Pin
T.RATHA KRISHNAN8-Mar-07 19:35
T.RATHA KRISHNAN8-Mar-07 19:35 
AnswerRe: ASSERTION FAILURE in C++ Pin
prasad_som8-Mar-07 19:46
prasad_som8-Mar-07 19:46 
QuestionRe: ASSERTION FAILURE in C++ Pin
David Crow9-Mar-07 3:23
David Crow9-Mar-07 3:23 
QuestionLoad, display and paint Bitmap Image Pin
Md. Mazharul Islam Khan8-Mar-07 19:34
Md. Mazharul Islam Khan8-Mar-07 19:34 
AnswerRe: Load, display and paint Bitmap Image Pin
Hamid_RT8-Mar-07 19:49
Hamid_RT8-Mar-07 19:49 
QuestionDifferent text color for different index in CListCtrl Pin
Aryan S8-Mar-07 19:28
Aryan S8-Mar-07 19:28 
AnswerRe: Different text color for different index in CListCtrl Pin
prasad_som8-Mar-07 19:49
prasad_som8-Mar-07 19:49 
AnswerRe: Different text color for different index in CListCtrl Pin
Hamid_RT8-Mar-07 19:54
Hamid_RT8-Mar-07 19:54 
QuestionActivex Control(->PX_BLOB Pin
lavate malllik8-Mar-07 19:04
lavate malllik8-Mar-07 19:04 
QuestionRe: Activex Control(->PX_BLOB Pin
prasad_som8-Mar-07 21:36
prasad_som8-Mar-07 21:36 
AnswerRe: Activex Control(->PX_BLOB Pin
lavate malllik8-Mar-07 21:53
lavate malllik8-Mar-07 21:53 
AnswerRe: Activex Control(->PX_BLOB Pin
prasad_som8-Mar-07 22:02
prasad_som8-Mar-07 22:02 
QuestionOpen Type Font (OTF) problem. Pin
Sameer_Thakur8-Mar-07 18:47
Sameer_Thakur8-Mar-07 18:47 
AnswerRe: Open Type Font (OTF) problem. Pin
Rajesh R Subramanian8-Mar-07 19:42
professionalRajesh R Subramanian8-Mar-07 19:42 
AnswerRe: Open Type Font (OTF) problem. Pin
Optimus Chaos9-Mar-07 2:27
Optimus Chaos9-Mar-07 2:27 
Hi,

once I wrote a similar thing, but I used EnumFontFamiliesEx because it uses another callback proc which uses EnumFontFamExProc. There you get an NEWTEXTMETRICEX pointer and there you can test the
ntmFlags member of the ntmTm member:

if ( ( ( lpntme -> ntmTm.ntmFlags & NTM_PS_OPENTYPE ) == NTM_PS_OPENTYPE ) ||
( ( lpntme -> ntmTm.ntmFlags & NTM_TT_OPENTYPE ) == NTM_TT_OPENTYPE ) )
{
// this is an open type font
...
}

Cheers

Stefan
QuestionHow to change menu caption? Pin
dungpapai8-Mar-07 16:56
dungpapai8-Mar-07 16:56 
AnswerRe: How to change menu caption? Pin
prasad_som8-Mar-07 18:01
prasad_som8-Mar-07 18:01 
GeneralRe: How to change menu caption? Pin
NiceNaidu8-Mar-07 18:38
NiceNaidu8-Mar-07 18:38 
GeneralRe: How to change menu caption? Pin
Hamid_RT8-Mar-07 19:50
Hamid_RT8-Mar-07 19:50 
QuestionHow to obtain the menu type from the menu handle? Pin
schwadan8-Mar-07 15:30
schwadan8-Mar-07 15:30 
AnswerRe: How to obtain the menu type from the menu handle? Pin
NiceNaidu8-Mar-07 18:47
NiceNaidu8-Mar-07 18:47 
GeneralRe: How to obtain the menu type from the menu handle? Pin
schwadan9-Mar-07 13:57
schwadan9-Mar-07 13:57 
AnswerRe: How to obtain the menu type from the menu handle? Pin
prasad_som8-Mar-07 20:31
prasad_som8-Mar-07 20:31 
GeneralRe: How to obtain the menu type from the menu handle? Pin
schwadan9-Mar-07 14:19
schwadan9-Mar-07 14: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.