Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Implements the stock Font property and encapsulates the functionality of a Windows font object and the IFont interface.
class CFontHolder
Members
Public Constructors
| Name | Description | 
|---|---|
| Constructs a CFontHolder object. | 
Public Methods
| Name | Description | 
|---|---|
| Retrieves the string displayed in a container's property browser. | |
| Returns the font's IDispatch interface. | |
| Returns a handle to a Windows font. | |
| Initializes a CFontHolder object. | |
| Retrieves information for the related font. | |
| Disconnects the CFontHolder object from the IFont and IFontNotification interfaces. | |
| Selects a font resource into a device context. | |
| Connects the CFontHolder object to an IFont interface. | 
Public Data Members
| Name | Description | 
|---|---|
| A pointer to the CFontHolder object's IFont interface. | 
Remarks
CFontHolder does not have a base class.
Use this class to implement custom font properties for your control. For information on creating such properties, see the article ActiveX Controls: Using Fonts.
Inheritance Hierarchy
CFontHolder
Requirements
Header: afxctl.h