|
-
May 25th, 2001, 02:05 PM
#1
Thread Starter
Hyperactive Member
callback
Im want to enumerate fonts. I need a callback function. How do you make a callback function in C++? Thanks
Matt 
-
May 25th, 2001, 02:22 PM
#2
Frenzied Member
LRESULT CALLBACK WhatEver(WhatEverParmsYouNeed)
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
May 25th, 2001, 05:31 PM
#3
Monday Morning Lunatic
It's not necessarily LRESULT. The documentation for EnumFontFamilies will give you the specs for the user-supplied function.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
May 25th, 2001, 05:34 PM
#4
Frenzied Member
Yep:
PHP Code:
int CALLBACK EnumFontFamProc(
ENUMLOGFONT FAR *lpelf, // pointer to logical-font data
NEWTEXTMETRIC FAR *lpntm, // pointer to physical-font data
int FontType, // type of font
LPARAM lParam // pointer to application-defined data
);
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|