Function SetWindowFont

Top 

Declaration:

void SetWindowFont(unsigned long handle, char font_name[], int height);

Description

Sets up the font for the specified window.

The handle parameter is the window identifier produced by the call of the , and FindWindow functions.

font_name is the string with the font name; is the font height.

Only monospaced fonts, such as Courier or Fixedsys, shall be used.

You can draw with any font, in the User window. To select the font, use the SelectFont function.

Example

unsigned long handle = OpenWindow(WIN_DUMP);

SetWindowFont(handle, "Courier New", 12);