COleControl Members
Base Class Members
Construction/Destruction
Creates a COleControl object. |
|
Destroys and re-creates the control's window. |
Initialization
Informs the base class of the IIDs the control will use. |
|
Resets the parent of the control window. |
|
Initializes COleControl stock properties to their default values. |
|
Initializes the version number to a given value. |
|
Sets the size of an OLE control when first displayed in a container. |
Control Modification Functions
Retrieves the control flag settings. |
|
Determines if the control state has changed. |
|
Changes the modified state of a control. |
Persistence
Serializes the control's width and height. |
|
Serializes the control's stock properties. |
|
Serializes the control's version number. |
|
Allows specialized loading of an OLE control. |
|
Serializes or initializes the display space for the control. |
|
Serializes or initializes the COleControl stock properties. |
|
Serializes or initializes the control's version information. |
|
Changes the modified state of a control. |
|
Determines whether ambient properties will be available the next time the control is loaded. |
Update/Painting Functions
Redraws an OLE control that has been subclassed from a Windows control. |
|
Invalidates an area of the displayed control, causing it to be redrawn. |
|
Indicates whether the container supports optimized drawing for the current drawing operation. |
|
Selects a custom Font property into a device context. |
|
Selects the stock Font property into a device context. |
|
Converts an OLE_COLOR value to a COLORREF value. |
Dispatch Exceptions
Prevents access to a control's property value by the user. |
|
Indicates that an edit request has failed. |
|
Prevents modification to a control's property value by the user. |
|
Signals that an error has occurred in an OLE control. |
|
Provides a Windows procedure for a COleControl object. |
Ambient Property Functions
Retrieves the current appearance of the control. |
|
Returns the value of the ambient BackColor property. |
|
Returns the name of the control as specified by the container. |
|
Returns the value of the ambient Font property. |
|
Returns the value of the ambient ForeColor property. |
|
Returns the container's locale ID. |
|
Returns the type of units used by the container. |
|
Determines if grab handles should be displayed. |
|
Determines if hatching should be displayed. |
|
Returns the type of text alignment specified by the container. |
|
Determines if the control should respond to user-interface actions. |
|
Determines the mode of the container. |
|
Returns the value of the specified ambient property. |
Event Firing Functions
Fires the stock Click event. |
|
Fires the stock DblClick event. |
|
Fires the stock Error event. |
|
Fires a custom event. |
|
Fires the stock KeyDown event. |
|
Fires the stock KeyPress event. |
|
Fires the stock KeyUp event. |
|
Fires the stock MouseDown event. |
|
Fires the stock MouseMove event. |
|
Fires the stock MouseUp event. |
|
Fires an event when the control's ready state changes. |
Stock Methods/Properties
Implementation of the stock DoClick method. |
|
Returns the value of the stock Appearance property. |
|
Returns the value of the stock BackColor property. |
|
Returns the value of the stock BorderStyle property. |
|
Returns the value of the stock Enabled property. |
|
Returns the value of the stock Font property. |
|
Returns the metrics of a CFontHolder object. |
|
Returns the value of the stock ForeColor property. |
|
Returns the value of the stock hWnd property. |
|
Returns the metrics of the stock Font property. |
|
Returns the value of the stock Text or Caption property. |
|
Returns a CFontHolder object for the stock Font property. |
|
Retrieves the stock Caption or Text property. |
|
Forces a repaint of a control's appearance. |
|
Selects the control's stock Font property into a device context. |
|
Sets the value of the stock Appearance property. |
|
Sets the value of the stock BackColor property. |
|
Sets the value of the stock BorderStyle property. |
|
Sets the value of the stock Enabled property. |
|
Sets the value of the stock Font property. |
|
Sets the value of the stock ForeColor property. |
|
Sets the value of the stock Text or Caption property. |
OLE Control Sizing Functions
Returns the position and size of the OLE control. |
|
Returns the control's rectangle relative to its container. |
|
Sets the position and size of the OLE control. |
|
Sets the control's rectangle relative to its container. |
OLE Data Binding Functions
Notifies the container that a bound property has been changed. |
|
Requests permission to edit the property value. |
Simple Frame Functions
Enables simple frame support for a control. |
OLE Control Site Functions
Call this function after the set of mnemonics handled by the control has changed. |
|
Queries an object for the pointer to its current client site within its container. |
|
Retrieves a pointer to an extended control object belonging to the container. |
|
Determines if your control can be deactivated by the container. |
|
Transforms coordinate values between a container and the control. |
Modal Dialog Functions
Notifies the container that a modal dialog box has been closed. |
|
Notifies the container that a modal dialog box is about to be displayed. |
Windowless Operations
Adjusts a caret rectangle if it is overlapped by a control. |
|
Determines whether a windowless, activated control object has the mouse capture. |
|
Retrieves the size of the control's client area. |
|
Provides a means for a windowless control to get a device context from its container. |
|
Determines whether the control has the focus. |
|
Override to allow a windowless control to be the target of drag and drop operations. |
|
Invalidates the container window's client area within the given region. Can be used to redraw windowless controls in the region. |
|
Processes window messages (other than mouse and keyboard messages) for windowless controls. |
|
Releases mouse capture. |
|
Releases the display device context of a container of a windowless control. |
|
Allows a windowless control to scroll an area within its in-place active image on the display. |
|
Causes the control's container window to take possession of the mouse capture on the control's behalf. |
|
Causes the control's container window to take possession of the input focus on the control's behalf. |
Inactive Pointer Handling Functions
Translates a point relative to the control's origin to a point relative to its container's origin. |
|
Alters the default activation behavior of a control that supports the IPointerInactive interface. |
|
Retrieves the difference between the upper left corner of the control's rectangular area and the upper left corner of its client area. |
|
Override to have the container for the inactive control under the mouse pointer dispatch WM_MOUSEMOVE messages to the control. |
|
Override to have the container for the inactive control under the mouse pointer dispatch WM_SETCURSOR messages to the control. |
|
Translates a point relative to the container's origin to a point relative to the control's origin. |
Asynchronous Control Functions
Returns the control's readiness state. |
|
Sets the control's readiness state and fires the ready-state-change event. |
|
Resets any previous asynchronous data and initiates a new load of the control's asynchronous property. |
Overridables
Displays stock Error events to the control's user. |
|
Serializes the properties of a COleControl object. |
|
Retrieves the OLE class ID of the control. |
|
Provides status bar text for a menu item. |
|
Enables automation method invocation. |
|
Called to determine if the control subclasses a Windows control. |
|
Called to fire the stock Click event. |
|
Called after a control verb has been executed. |
|
Called when a control is requested to redraw itself. |
|
Called by the container when a control is requested to redraw itself using a metafile device context. |
|
Called by the container to UI Activate an OLE control. |
|
Called by the container to enumerate a control's verbs. |
|
Called when event handlers are connected or disconnected from a control. |
|
Called after the stock KeyDown event has been fired. |
|
Called after the stock KeyPress event has been fired. |
|
Called after the stock KeyUp event has been fired. |
|
Called when the control's "Properties" verb has been invoked. |
|
Resets a control's properties to the default values. |
Change Notification Functions
Called when the stock Appearance property is changed. |
|
Called when the stock BackColor property is changed. |
|
Called when the stock BorderStyle property is changed. |
|
Called when the stock Enabled property is changed. |
|
Called when the stock Font property is changed. |
|
Called when the stock ForeColor property is changed. |
|
Called when the stock Text or Caption property is changed. |
OLE Interface Notification Functions
Called when an ambient property is changed. |
|
Notifies the control that IOleControl::Close has been called. |
|
Called when a control's events are frozen or unfrozen. |
|
Provides mnemonic information to the container. |
|
Called when a mnemonic key of the control has been pressed. |
|
Called by the framework to retrieve data in the specified format. |
|
Called by the framework to retrieve data from a file in the specified format. |
|
Called by the framework to retrieve data from global memory in the specified format. |
|
Notifies the control that IOleControl::SetClientSite has been called. |
|
Replaces the control's data with another value. |
|
Called after the control's extent has changed. |
|
Called after the control's dimensions have been changed. |
IViewObject Interface Notification Overridables
Notifies the control that IOleObject::GetColorSet has been called. |
|
Override to retrieve the control's display size closest to the proposed size and extent mode. |
|
Override to retrieve the size of the control's display areas (can be used to enable two-pass drawing). |
|
Override to convert control's size into a rectangle starting at a specific position. |
|
Override to retrieve the control's view status. |
|
Override to query whether a control's display overlaps a given point. |
|
Override to query whether a control's display overlaps any point in a given rectangle. |
In-Place Activation Functions
Requests the handle of the control's menu that will be merged with the container menu. |
|
Called by the container when the control is UI deactivated. |
|
Called when the control has been UI activated. |
Property Browsing Functions
Called to obtain a string to represent a property value. |
|
Returns strings representing possible values for a property. |
|
Returns the value corresponding to a predefined string. |
|
Indicates which property page to use for editing a property. |