Click here to Skip to main content
15,902,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: How to obtain the menu type from the menu handle? Pin
prasad_som9-Mar-07 15:39
prasad_som9-Mar-07 15:39 
QuestionHow do you add an application icon using Visual Studio 6 [modified] Pin
devvvy8-Mar-07 15:21
devvvy8-Mar-07 15:21 
AnswerRe: How do you add an application icon using Visual Studio 6 Pin
Mark Salsbery8-Mar-07 16:12
Mark Salsbery8-Mar-07 16:12 
GeneralRe: How do you add an application icon using Visual Studio 6 Pin
devvvy8-Mar-07 18:33
devvvy8-Mar-07 18:33 
QuestionHow to move the IME window? Pin
Super Lloyd8-Mar-07 14:18
Super Lloyd8-Mar-07 14:18 
Questionload jpg file in C++ Pin
cedance8-Mar-07 13:39
cedance8-Mar-07 13:39 
AnswerRe: load jpg file in C++ Pin
Mark Salsbery8-Mar-07 15:31
Mark Salsbery8-Mar-07 15:31 
AnswerRe: load jpg file in C++ Pin
Chris Losinger8-Mar-07 15:43
professionalChris Losinger8-Mar-07 15:43 

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.