Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Hi.

In my application I am trying to read all the fonts from system’s font folder and loading them in a drop down box so that user can pick any of the available fonts.
I am using EnumFontFamProc() for reading all the fonts from Fonts folder and here is the code snippet for that….

int CALLBACK CFontCombo::EnumFontFamProc(ENUMLOGFONT FAR *lpelf,
NEWTEXTMETRIC FAR *lpntm, int FontType, LPARAM lParam)
{
if(FontType & TRUETYPE_FONTTYPE)
{
CFontCombo *pxFC = (CFontCombo *) lParam;
pxFC->AddString(lpelf->elfLogFont.lfFaceName);

}
return 1;
}

Application successfully reads all TTF (Tru Type Fonts) but fails to read OTF (Open Type Font) that are present in Fonts folder.
What’s the solution for this problem?


Thanks

Sameer Thakur

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 
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 

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.