Equinox Online Help - Language Reference - A to Z
FontHandle |
|
|---|---|
| Applies to | ![]() |
| Syntax | FontHandle (IndexorStringExpression) |
| Action | [Function] Returns a Windows handle for a particular font. |
| Scope | Only usable in form methods. |
| Notes | A Windows handle for an application font may be useful when running external DLLs. The name or index number of the font is passed to the function via the IndexorStringExpression parameter. |
| Category | Fonts and Colours |
| See Also | Bcopy, ChangePalette, ColourName_ColorName, ColourNumber_ColorNumber, External, FontHandle, FontHandle, FontName, FontNumber, GetMessageParameters, GetNotifyParameters, Hiword, Loword, MakeLong, PaletteRGB, RGB, RGBValues |
| Example | This example passes an integer array to an external DLL to return the character widths of a string in order to compute the length of a displayed line. int charwidths[256] |
