PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How to get the"Font" property to work in an ATL COM control?

Hi,

I'm desperately trying to get the "Font" property to work in an ATL COM Control.
I create a full control within the wizard (eVC 3.0) and add the stock font property. I also provide an implementation of SetClientSite which initializes the m_pFont member via GetAmbientFont.
My problem: The desktop version runs as expepected, setting the font correctly. The PocketPC version however DOES NOT work, i.e GetAmbientFont sets the m_pFont to NULL.
Any ideas how to get the "Font" property to work? Am I missing something that must be considered when writing Font-enabled controls for the PocketPC platform?

TIA,
Fredo