bgiGetSelectedFontName

Returns the font name selected from the last font dialog. Takes no parameters. Returns the value of global variable requestedFontName as string.

BGI GUI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

String

Quick Summary

Returns the font name selected from the last font dialog. Takes no parameters. Returns the value of global variable requestedFontName as string.

Technical Exegesis...

Returns the font name selected from the last font dialog. Returns the value of global variable requestedFontName as string. This value is set by bgiOpenFontDialog() when user selects a font. Default value is "Arial".

This function retrieves the font face name from the most recently used font dialog. The requestedFontName global is updated when bgiOpenFontDialog() completes successfully (not on cancel). Font name is extracted from LOGFONT.lfFaceName field.

Example

Example.bam
; No example implemented yet