English
Source / code snippets

Enumfontfamilies Font type type

 
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  
 




Frank
Abbing
Verify whether Font present is in list:
CompileMarkSeparation
 
12/21/09  
 



Mach still ne function. Interne LB lünchen isn't nice.
 
12/21/09  
 




Frank
Abbing
is faster.
 
12/21/09  
 



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  
 




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.375 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