Click here to Skip to main content
15,922,315 members
Home / Discussions / C#
   

C#

 
GeneralBrowser Helper Objects Pin
Stuggo22-Jul-04 3:11
Stuggo22-Jul-04 3:11 
GeneralRe: Browser Helper Objects Pin
mav.northwind22-Jul-04 3:47
mav.northwind22-Jul-04 3:47 
GeneralRe: Browser Helper Objects Pin
Heath Stewart22-Jul-04 5:03
protectorHeath Stewart22-Jul-04 5:03 
GeneralRe: Browser Helper Objects Pin
mav.northwind22-Jul-04 5:49
mav.northwind22-Jul-04 5:49 
GeneralRe: Browser Helper Objects Pin
Stuggo22-Jul-04 8:49
Stuggo22-Jul-04 8:49 
GeneralInstalation Pin
thomasa22-Jul-04 0:40
thomasa22-Jul-04 0:40 
GeneralRe: Instalation Pin
OBRon22-Jul-04 5:26
OBRon22-Jul-04 5:26 
GeneralRe: Instalation Pin
Heath Stewart22-Jul-04 5:50
protectorHeath Stewart22-Jul-04 5:50 
GeneralRe: Instalation Pin
Heath Stewart22-Jul-04 5:40
protectorHeath Stewart22-Jul-04 5:40 
GeneralDCOM replacement in .NET Pin
Muhammad Ahmed21-Jul-04 23:17
Muhammad Ahmed21-Jul-04 23:17 
GeneralRe: DCOM replacement in .NET Pin
mav.northwind21-Jul-04 23:35
mav.northwind21-Jul-04 23:35 
GeneralRe: DCOM replacement in .NET Pin
Muhammad Ahmed22-Jul-04 1:09
Muhammad Ahmed22-Jul-04 1:09 
GeneralRe: DCOM replacement in .NET Pin
mav.northwind22-Jul-04 2:00
mav.northwind22-Jul-04 2:00 
General(OT?): webservice credentials Pin
Stephan Wright21-Jul-04 21:30
Stephan Wright21-Jul-04 21:30 
GeneralRe: (OT?): webservice credentials Pin
Heath Stewart22-Jul-04 4:56
protectorHeath Stewart22-Jul-04 4:56 
QuestionFetching Font information ? Pin
sachinkalse21-Jul-04 21:02
sachinkalse21-Jul-04 21:02 
AnswerRe: Fetching Font information ? Pin
Heath Stewart22-Jul-04 4:41
protectorHeath Stewart22-Jul-04 4:41 
GeneralRe: Fetching Font information ? Pin
sachinkalse22-Jul-04 14:50
sachinkalse22-Jul-04 14:50 
GeneralRe: Fetching Font information ? Pin
Heath Stewart23-Jul-04 5:27
protectorHeath Stewart23-Jul-04 5:27 
GeneralRe: Fetching Font information ? Pin
sachinkalse25-Jul-04 16:41
sachinkalse25-Jul-04 16:41 
GeneralRe: Fetching Font information ? Pin
Heath Stewart26-Jul-04 4:38
protectorHeath Stewart26-Jul-04 4:38 
It's only recommended. The problem with EnumFontFamiliesEx is that the EnumFontFamExProc uses a complex nesting of structs that may have problems marshaling. If you continue to use that, I would recommend flattening the structs (in unmanaged code, a struct is just a deign-time layout; in memory its just contiguous bits).

Define "is not working". That isn't very technical, nor do it help me understand what exactly isn't working.

Honestly, if you enumerate all fonts, OR the family type and whatever else together, and check the condition of lfPitchAndFont, that's really all you should have to do. When I use my code snippet, the LOTFONT data does reflect different lfPitchAndFont field values, so filtering by that field should work just fine.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Fetching Font information ? Pin
sachinkalse26-Jul-04 15:27
sachinkalse26-Jul-04 15:27 
GeneralRe: Fetching Font information ? Pin
Heath Stewart26-Jul-04 17:56
protectorHeath Stewart26-Jul-04 17:56 
GeneralRe: Fetching Font information ? Pin
sachinkalse26-Jul-04 18:26
sachinkalse26-Jul-04 18:26 
GeneralRe: Fetching Font information ? Pin
Heath Stewart26-Jul-04 18:37
protectorHeath Stewart26-Jul-04 18:37 

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.