CPictureHolder Class
Implements a Picture property, which allows the user to display a picture in your control.
class CPictureHolder
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CPictureHolder object. |
Public Methods
Name |
Description |
---|---|
Creates an empty CPictureHolder object. |
|
Creates a CPictureHolder object from a bitmap. |
|
Creates a CPictureHolder object from an icon. |
|
Creates a CPictureHolder object from a metafile. |
|
Retrieves the string displayed in a control container's property browser. |
|
Returns the CPictureHolder object's IDispatch interface. |
|
Tells whether the CPictureHolder object is a bitmap, a metafile, or an icon. |
|
Renders the picture. |
|
Sets the CPictureHolder object's IDispatch interface. |
Public Data Members
Name |
Description |
---|---|
A pointer to a picture object. |
Remarks
CPictureHolder does not have a base class.
With the stock Picture property, the developer can specify a bitmap, icon, or metafile for display.
For information on creating custom picture properties, see the article MFC ActiveX Controls: Using Pictures in an ActiveX Control.
Inheritance Hierarchy
CPictureHolder
Requirements
Header: afxctl.h