danbind
asked on
BC4.52/Win95: setting font type in dialog
I am writing a Win32 Win95 app using BC4.52, and am trying to set the font type for a dialog by using the FONT command in my resource file. The file builds OK, but the resulting executable ends up using the system font no matter what font I select. Is this a problem between Win95 and BC4.52? If so, is there a work-around?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This answer solves my problem--thanks! BTW, the FONT parameter in the DIALOG statement DOES work (I misspoke), but is limited--the font weight defaults to "Bold". The Borland documentation says to use the WM_SETFONT message at runtime to set the font otherwise. Does version 5 have this limitation?
Maybe you can post the resource code that you are using.