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

C / C++ / MFC

 
Generalcallback functions Pin
devvvy30-Oct-02 8:44
devvvy30-Oct-02 8:44 
GeneralRe: callback functions Pin
Chris Losinger30-Oct-02 8:52
professionalChris Losinger30-Oct-02 8:52 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 8:55
S van Leent30-Oct-02 8:55 
GeneralRe: callback functions Pin
Chris Losinger30-Oct-02 8:57
professionalChris Losinger30-Oct-02 8:57 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 9:36
S van Leent30-Oct-02 9:36 
GeneralRe: callback functions Pin
Chris Losinger30-Oct-02 9:39
professionalChris Losinger30-Oct-02 9:39 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 8:54
S van Leent30-Oct-02 8:54 
GeneralSnippet Pin
Chris Losinger30-Oct-02 9:41
professionalChris Losinger30-Oct-02 9:41 
// cb function that's called once for each font
BOOL CALLBACK EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData)	
{	
   TRACE("Found a font named: %s\n", lplf->lfFaceName);
   return TRUE;
}

// ask windows to enumerate the fonts using our callback
EnumFonts (dc, 0,(FONTENUMPROC) EnumFontProc, (LPARAM)0);


-c



“If it turns out that I’m actually the one who did it, then looking for the real killers would be a big old waste of time.”
-- OJ Simpson

GeneralRe: Snippet Pin
devvvy30-Oct-02 9:57
devvvy30-Oct-02 9:57 
GeneralWondering Why,... Pin
ursus zeta30-Oct-02 11:10
ursus zeta30-Oct-02 11:10 
GeneralRe: Wondering Why,... Pin
Chris Losinger30-Oct-02 11:28
professionalChris Losinger30-Oct-02 11:28 
GeneralRe: Wondering Why,... Pin
ursus zeta30-Oct-02 12:33
ursus zeta30-Oct-02 12:33 
GeneralRe: Wondering Why,... Pin
ian mariano30-Oct-02 21:51
ian mariano30-Oct-02 21:51 
GeneralDeletting EOF Pin
José Luis Sogorb30-Oct-02 8:34
José Luis Sogorb30-Oct-02 8:34 
GeneralRe: Deletting EOF Pin
Chris Losinger30-Oct-02 8:52
professionalChris Losinger30-Oct-02 8:52 
QuestionHow to check duplicate line in text file? Pin
ooosawaddee330-Oct-02 8:25
ooosawaddee330-Oct-02 8:25 
AnswerRe: How to check duplicate line in text file? Pin
Maximilien30-Oct-02 8:32
Maximilien30-Oct-02 8:32 
AnswerRe: How to check duplicate line in text file? Pin
Le centriste30-Oct-02 8:41
Le centriste30-Oct-02 8:41 
AnswerRe: How to check duplicate line in text file? Pin
Christian Graus30-Oct-02 10:32
protectorChristian Graus30-Oct-02 10:32 
GeneralMultiple Dialog Boxes Pin
Ayush30-Oct-02 7:19
Ayush30-Oct-02 7:19 
GeneralRe: Multiple Dialog Boxes Pin
dabs30-Oct-02 7:36
dabs30-Oct-02 7:36 
GeneralRe: Multiple Dialog Boxes Pin
#realJSOP30-Oct-02 7:38
mve#realJSOP30-Oct-02 7:38 
GeneralRe: Multiple Dialog Boxes Pin
Ayush30-Oct-02 7:55
Ayush30-Oct-02 7:55 
GeneralCEPB 2.12 Compiler Refuses to Generate LIB File for DLL Pin
#realJSOP30-Oct-02 7:18
mve#realJSOP30-Oct-02 7:18 
GeneralRe: WCHAR* Pin
Stephane Rodriguez.30-Oct-02 7:13
Stephane Rodriguez.30-Oct-02 7:13 

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.