|
-
April 19th, 1999, 08:30 AM
#1
How do I set the default for a stock font ?
With an ActiveX MFC COM control, how do I set a font to be used if there isn't an ambient font ?
I'm hoping that there is a way to set up the control so that DoPropExchange will continue to automatically load my stock properties but use a default font of my choice if the container does not support AmbientFont.
TIA
-
April 22nd, 1999, 03:50 AM
#2
Re: How do I set the default for a stock font ?
Since no-one else replied, the answer is to use the OnResetState function to set up the object after the property exchange has happened. A call to AmbientFont() will show if a default font is needed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|