![]() |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class loads a control by using ATLHOST. More...
#include <ilviews/windows/atl.h>
Public Member Functions | |
| IlvATLInterface (REFIID rIID, char const *identifier, IlvDisplay *display, IlvRect const &bbox, IlvView *parent=0) | |
| Constructor. More... | |
| HWND | getHWnd () const |
| Returns the handle to the system windows associated to the ATL hosting control. | |
Public Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
| virtual | ~IlvAbstractCOMInterface ()=0 |
| Destructor. More... | |
| INTERFACE * | getInterface () const |
| This member function returns the interface associated to this class. More... | |
| operator INTERFACE * () const | |
| This operator returns the interface associated to this class. More... | |
| operator INTERFACE const * () const | |
| This const operator returns the interface associated to this class. More... | |
| INTERFACE * | operator-> () const |
| This operator lets the class to be used as a plain pointer. More... | |
| HRESULT | setInterface (IUnknown *iunk, REFIID iid) |
This function modifies the interface stored by this object through a call to the function QueryInterface of the IUnknown interface. More... | |
| void | setInterface (INTERFACE *interf) |
| This function replaces the previous interface stored in this object by a new one. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
| IlvAbstractCOMInterface () | |
| Default constructor. More... | |
| IlvAbstractCOMInterface (IlvAbstractCOMInterface const &other) | |
| Copy constructor. More... | |
| IlvAbstractCOMInterface (CntPtr const &initObj) | |
| Constructor. More... | |
| CntPtr const & | getInitializer () const |
| This function returns a reference counter to the library initializer. More... | |
| IlvAbstractCOMInterface & | operator= (IlvAbstractCOMInterface const &other) |
| Assignment operator. More... | |
This class loads a control by using ATLHOST.
Library: ilvcom
| IlvATLInterface< INTERFACE >::IlvATLInterface | ( | REFIID | rIID, |
| char const * | identifier, | ||
| IlvDisplay * | display, | ||
| IlvRect const & | bbox, | ||
| IlvView * | parent = 0 |
||
| ) |
Constructor.
It loads the control and gets an interface. It also initializes the ATL library if necessary. The actual loading and getting of the interface is done by IlvATLModuleInitialization::createControl(). for more information on the parameters.
| rIID | The REFIID of the requested interface. |
| identifier | The identifier of the control (see IlvATLModuleInitialization::createControl(). |
| display | The display attached to this control (for resource management). |
| bbox | The size of the control to create. |
| parent | The parent view for this control. |
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.