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
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.