[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ChooseFont( aPreviousFont, @nRGBColor )-> <aFont>
------------------------------------------------------------------------------



 PARAMETER:

  <aPreviousFont>  is an array with the default font description to show
                   as selected when invoking the DialogBox. This are the 
                   elements of that array:

                    #define LF_HEIGHT          1
                    #define LF_WIDTH           2
                    #define LF_ESCAPEMENT      3
                    #define LF_ORIENTATION     4
                    #define LF_WEIGHT          5
                    #define LF_ITALIC          6
                    #define LF_UNDERLINE       7
                    #define LF_STRIKEOUT       8
                    #define LF_CHARSET         9
                    #define LF_OUTPRECISION   10
                    #define LF_CLIPPRECISION  11
                    #define LF_QUALITY        12
                    #define LF_PITCHANDFAMILY 13
                    #define LF_FACENAME       14

  @<nRGBColor>     Is a numeric RGB color, supplied by reference, where 
                   the DialogBox will store the user color selection.


 RETURNS:

 <aFont> is an array that holds the new font definition. It has the same  
 structure as <aDefaultFont>.


 DESCRIPTION:

  This function calls the Windows standard font selection DialogBox.
  It is automatically called from TFont():Choose() METHOD to automatize
  the process of providing parameters.

  You can also use the TWindow():SelFont() METHOD 


 SOURCE:

  SOURCE\WINAPI\FONTCHOO.C



See Also: SelFont
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson