English
Source / code snippets

Enumfontfamilies Font type type

 
- Page 1 -


Listet available Types of/ one type and gives these as String back - can z.B. too used to be To Verify, whether a type installs is. (checkFont("arial")="") = no "arial" installs.


CompileMarkSeparation
cls
print checkFont("Arial")
waitinput
end

proc checkFont

    parameters fnt$
    var l&=create("list",0)
    external("gdi32","EnumFontFamiliesA",%hdc,addr(fnt$),procAddr(checkFont.EnumProc,4),l&)
    fnt$=""

    whileLoop 0,getCount(l&)-1

        fnt$=fnt$+getString$(l&,&loop)

    wend

    destroyWindow(l&)
    return fnt$

    proc checkFont.EnumProc

        parameters lpelf&,lpntm&,ft&,l&
        var tmps$=string$(lpelf&,28)+"
        "
        case selectString(l&,-1,tmps$)+1 : return 0
        addString(l&,tmps$)
        return 1

    endproc

endproc


5 kB
Hochgeladen:12/20/09
Downloadcounter181
Download
 
12/20/09  
 



 
- Page 1 -


on what want out?
 
12/21/09  
 




Frank
Abbing
The interne Listboxliste is still optimal for such things suitable. Why hereon dispense. The Callback-method bid the to no advantages.
 
12/21/09  
 



I wanted to not believe (Have therefore again nachgefragt), that You thereby really no advantages see and rather The interne LB "verbrätst". game but no role, wers custom Better get going find.
 
12/21/09  
 




Frank
Abbing
on which advantages think You?
 
12/22/09  
 




Frank
Abbing
Gibts no?
 
12/23/09  
 



well for you first nächstes christmas, this gibtsn pkg with notwendiger imagination.
 
12/23/09  
 




Frank
Abbing
Sag still simply: me entrapments no advantages one.
 
12/23/09  
 



OK, then say I simply: me entrapments no advantages one.

truth is it Yes nevertheless not, alike whether Dus listen want.

I meant before already: "wers custom Better get going finden", vlt. would have You it simply thereby leave should.

Mach You first ne function draus, can still otherwise so none vergleichen. Perhaps. see You then too whom "Unterschied". ^^
 
12/23/09  
 



 
- Page 2 -



Frank
Abbing
I teste something like in the ongoing Program(proposition) and entscheide then for me. The decision fell not for EnumFontFamilies from. If you disturbing, that someone one of you verpönte method using, then try it To convincing or erwähne it even none first.
be too sure, that Roland ditto EnumFonts(Families) for its AddFonts using. Why ought to I it means not immediate nativ using?
 
12/23/09  
 



what?
 
12/23/09  
 




Jörg
Sellmeyer
Boh ey - your can one Real on the biscuit weg. Why power your not rather on XIDE moreover?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/24/09  
 




Frank
Abbing
it fails on the compatibility.
 
12/24/09  
 




Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.335 Views

Untitledvor 0 min.
Paul Glatz02/24/14
Julian Schmidt01/08/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie