April 14th, 1999, 07:17 PM
Hi all, I have an OCX, and I'm trying to set the font initially for the control using COleControl::SetFont. I usually do this through a CFontHolder object, but it seems like the constructor now wants an LPPROPERTYNOTIFYSINK as an argument in order to work (previously, in VC5, I was using a constructor with no args). I've searched all over, but, at least for my project, MFC does not expose this pointer (although I know its there somewhere). Can anyone show me a code snippet that shows how to construct and init a CFontHolder in VC6?
Thanks,
John
Thanks,
John