Re: Setting Font Size in Windows Programming


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Brian Levantine on August 16, 2005 at 08:17:50:

In Reply to: Setting Font Size in Windows Programming posted by Jeff Cinelli on August 16, 2005 at 03:50:52:

Hi Jeff. The CW.Font$ parameter used by CW.Open is for the purpose of setting a font face (doesn't change size so it conforms to QCRT cols/rows) into the main view window. If you want to use custom fonts for drawing onto the display using GDI mnemonics like TextOut then you use the SelectFont mnemonic. If you want to place controls onto the screen with custom fonts then you must first create the font using GDI.CreateFont and then send it's handle to any control you want to use it. All of these techniques are used by the program DIR (source dir.ibs) in the DMW folder.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]