Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl and SortChildrenCB Pin
Ryan Binns6-Sep-04 18:31
Ryan Binns6-Sep-04 18:31 
GeneralRe: CTreeCtrl and SortChildrenCB Pin
Al_Bundy7-Sep-04 7:14
Al_Bundy7-Sep-04 7:14 
GeneralDefragmenting Pin
gamitech6-Sep-04 10:23
gamitech6-Sep-04 10:23 
GeneralRe: Defragmenting Pin
Darren_vms6-Sep-04 10:49
Darren_vms6-Sep-04 10:49 
GeneralRe: Defragmenting Pin
gamitech6-Sep-04 10:51
gamitech6-Sep-04 10:51 
GeneralHelp Pin
Timothy Grabrian6-Sep-04 8:21
professionalTimothy Grabrian6-Sep-04 8:21 
GeneralRe: Help Pin
Jon Hulatt6-Sep-04 10:34
Jon Hulatt6-Sep-04 10:34 
GeneralAddFontResource + pfm && pfb Pin
globus0006-Sep-04 5:02
globus0006-Sep-04 5:02 
Hi I'm facing the following problem using AddFontResource function.
I've got Type1 fonts' files embedded in my programs resources. And I want make them(fonts) automatically install on programm startup and remove on programs shutdown. I'm doing the following:
1) extracting binary data from resources and saving them in temporary files
2) trying to add them by calling

AddFontResource("c:\\windows\\temp\\DIN-Bold.pfm | c:\\windows\\temp\\DIN-Bold.pfb");

But this function always returns 0.
The same procedure works well for single-file ttf fonts.
Could anybody help me to find out why it doesnt install pfm+pfb fonts.
I'll be glad to get any help from you.
GeneralRe: AddFontResource + pfm && pfb Pin
Mike Dimmick6-Sep-04 13:01
Mike Dimmick6-Sep-04 13:01 
GeneralLibrary: converting to/from UTF-x Pin
peterchen6-Sep-04 4:34
peterchen6-Sep-04 4:34 
GeneralRe: Library: converting to/from UTF-x Pin
DrusTheAxe6-Sep-04 4:55
DrusTheAxe6-Sep-04 4:55 
GeneralRe: Library: converting to/from UTF-x Pin
peterchen6-Sep-04 7:23
peterchen6-Sep-04 7:23 
GeneralBlueTooth communication Pin
eli150219796-Sep-04 4:31
eli150219796-Sep-04 4:31 
GeneralRe: BlueTooth communication Pin
Trollslayer6-Sep-04 5:11
mentorTrollslayer6-Sep-04 5:11 
GeneralRe: BlueTooth communication Pin
Ryan Binns6-Sep-04 18:43
Ryan Binns6-Sep-04 18:43 
GeneralCEdit question Pin
0v3rloader6-Sep-04 4:08
0v3rloader6-Sep-04 4:08 
Generalaccessing Windows Files .. Pin
Sudhakar Pasupunuri6-Sep-04 3:58
Sudhakar Pasupunuri6-Sep-04 3:58 
GeneralRe: accessing Windows Files .. Pin
Ryan Binns6-Sep-04 19:04
Ryan Binns6-Sep-04 19:04 
GeneralRe: accessing Windows Files .. Pin
Sudhakar Pasupunuri6-Sep-04 19:32
Sudhakar Pasupunuri6-Sep-04 19:32 
GeneralRe: accessing Windows Files .. Pin
Ryan Binns6-Sep-04 20:39
Ryan Binns6-Sep-04 20:39 
GeneralHelp Pin
verma-rahul6-Sep-04 3:55
verma-rahul6-Sep-04 3:55 
GeneralRe: Help Pin
Christian Graus6-Sep-04 12:20
protectorChristian Graus6-Sep-04 12:20 
QuestionHow to hide the "index" pane of the help widow using HtmlHelp? Pin
YunYan6-Sep-04 3:17
YunYan6-Sep-04 3:17 
Generalstatic function Pin
Dev5786-Sep-04 3:15
Dev5786-Sep-04 3:15 
GeneralRe: static function Pin
Joaquín M López Muñoz6-Sep-04 4:22
Joaquín M López Muñoz6-Sep-04 4:22 

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.