Jump to content
Sign in to follow this  

_WinAPI_AddFontResourceEx from Function Reference

Recommended Posts

Why am I unable to find the 'Gdi' Library include files for this function?

#include <APIGdiConstants.au3>     <<<<<<<<<<<<<<<<<<<<
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WinAPIGdi.au3>               <<<<<<<<<<<<<<<<<<<<<

_WinAPI_AddFontResourceEx(@ScriptDir & 'ExtrasSF Square Head Bold.ttf', $FR_PRIVATE)

GUICreate('Test ' & StringReplace(@ScriptName, '.au3', '()'), 400, 100)
GUICtrlCreateLabel('Simple Text', 10, 25, 380, 50, $SS_CENTER)
GUICtrlSetFont(-1, 38, -1, -1, 'SF Square Head Bold')
GUICtrlSetColor(-1, 0xF06000)


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...