Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with BMPs in APP
Message
De
25/02/1997 04:00:44
Narendra Lilaramani
Gentech Business Machines Ltd
Ahmedabad, Inde
 
 
À
24/02/1997 23:16:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00021465
Message ID:
00021907
Vues:
51
>>No, not yet. But one other thing I noticed. In other files option of Project, you can include all sorts of files. Now I wonder if I can do following things
>>i) My application uses few ReadOnly text files. Since data in the files should not be touched by End User, can I some how include this file in my EXE and refer to it?
>
>As far as I tryed it, you can. But since this problem with BMPs... I'm sure you can include a Config.fpw, for example.
>
>>ii) I have created True Type Fonts which are used in my application only. Can I include .FOT file in EXE & use it.
>
>I think you must register first any new font. I never done it by program, but look at AddFontResource(), RemoveFontResource() in Win32Api. There are also some messages to be send when you add/remove fonts.
>
>>I have some APIs in mind to do that, but how exactly I should use.
>>Fox example (GETMODULE, FINDRESOURCE & LOADRESOURCE APIs can be used. But I am not being successful yet. Do you have any idea?
>
>Again, as far as I know, fonts are not resources (e.g. I don't think you can include them in a resource file).
>
>So, no much help...
>
>Vlad

>Again, as far as I know, fonts are not resources (e.g. I don't think you can include them in a resource file).

No, Fonts are resources, as you can see in API help, in load resource there is a parameter to be passed for resource type which includes "RT_FONT"
just for info.

Narendra
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform