![]() ![]() The font object implements several interfaces, including IFont and IFontDisp. See The Component Object Model for more information on all the persistence interfaces.Ĭontrols can use these system provided objects to provide a visual representation of themselves within the client. ![]() The client decides which interface it prefers to use. The control implementer must decide what kinds of persistence are most important and implement the appropriate persistence interfaces. See the OLE Automation section for more information on OLE automation.Ī control can implement one or more of several persistence interfaces to support persistence of its state. See Property Pages and Property Sheets for more information on how property pages work.Ĭontrols can provide programmability through OLE automation so clients can take advantage of the control's features through a programming language supplied by the client. ![]() See Compound Documents for more information on in-place activation and other compound document interfaces.Ĭontrols can provide property pages so end users can view and change the control's properties. An end-user activates the control to initiate an action in the container application. See IOleInPlaceObjectWindowless::GetDropTarget for more information on drag and drop.Ī control can be an in-place active object that can be embedded in a containing client. See Events in COM and Connectable Objects for more information on how connectable objects work.Ĭontrols can support being dragged and dropped within a container with help from their container. For example, an outgoing interface can trigger an action in the client, can notify the client of some change in the control, or can request permission from the client before the control takes some action. ![]() See The Component Object Model for more information on COM, licensing, and self-registration.Ĭontrols can support outgoing interfaces through connectable objects so that the control can communicate with its client. Controls can support licensing through IClassFactory2 and self-registration. As summarized below, each of these core technologies plays a role in controls.Ī control is essentially a COM object that exposes the IUnknown interface, through which clients can obtain pointers to its other interfaces. ActiveX controls technology rests on a foundation consisting of COM, connectable objects, compound documents, property pages, OLE automation, object persistence, and system-provided font and picture objects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |