The information in this article applies to:
SUMMARYMfcfont.exe is a sample that demonstrates how to persist the stock font property of an MFC ActiveX control. MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. By default, the stock font property for an MFC ActiveX control is persisted as a binary COM object (IFontDisp). Many Web authoring tools expect to deal with properties as text name/value pairs using the IPersistPropertyBag interface. This sample demonstrates how to persist the stock font as a set of text properties to enable the control to be used by web authoring tools such as FrontPage and the ActiveX Control Pad. A sample HTML file is provided that demonstrates accessing the font properties from a Web page. This sample was developed using Microsoft Visual C++ 6.0. REFERENCES
For more information about the Microsoft Foundation Classes and implementing ActiveX controls, please consult the Microsoft Visual C++ online documentation.
Additional query words: FrontPage ActiveX Control Pad
Keywords : kbfile kbsample kbActiveX kbCtrlCreate kbMFC kbVC400 kbVC500 kbVC600 kbVisID |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |