wxActiveXContainer Class Reference

#include <wx/msw/ole/activex.h>

Inheritance diagram for wxActiveXContainer:

wxControl wxWindow wxEvtHandler wxObject

List of all members.


Detailed Description

wxActiveXContainer is a host for an activex control on Windows (and as such is a platform-specific class). Note that the HWND that the class contains is the actual HWND of the activex control so using dynamic events and connecting to wxEVT_SIZE, for example, will recieve the actual size message sent to the control.

It is somewhat similar to the ATL class CAxWindow in operation.

The size of the activex control's content is generally gauranteed to be that of the client size of the parent of this wxActiveXContainer.

You can also process activex events through wxEVT_ACTIVEX or the corresponding message map macro EVT_ACTIVEX.

Availability:  only available for the wxMSW port.

Library:  wxBase

Category:  group_class_FIXME

See also:
wxActiveXEvent

Public Member Functions

 wxActiveXContainer (wxWindow *parent, REFIID iid, IUnknown *pUnk)

Constructor & Destructor Documentation

wxActiveXContainer::wxActiveXContainer ( wxWindow parent,
REFIID  iid,
IUnknown *  pUnk 
)

Creates this activex container.

Parameters:
parent parent of this control. Must not be NULL.
iid COM IID of pUnk to query. Must be a valid interface to an activex control.
pUnk Interface of activex control.



wxWidgets logo

[ top ]