rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvATLInterface< INTERFACE > Class Template Reference

This class loads a control by using ATLHOST. More...

#include <ilviews/windows/atl.h>

Inheritance diagram for IlvATLInterface< INTERFACE >:
IlvAbstractCOMInterface< INTERFACE >

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. More...
 
- 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...
 
IlvAbstractCOMInterfaceoperator= (IlvAbstractCOMInterface const &other)
 Assignment operator. More...
 

Detailed Description

template<class INTERFACE>
class IlvATLInterface< INTERFACE >

This class loads a control by using ATLHOST.

Library: ilvcom

Constructor & Destructor Documentation

template<class INTERFACE >
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.
See IlvATLModuleInitialization::createControl for more information on the parameters.

Parameters
rIIDA REFIID.
identifierA const pointer to a C string.
displayA pointer to an IlvDisplay.
bboxA const reference to an IlvRect.

Member Function Documentation

template<class INTERFACE >
HWND IlvATLInterface< INTERFACE >::getHWnd ( ) const

Returns the handle to the system windows associated to the ATL hosting control.

Returns
The handle to the system windows associated to the ATL hosting control.

© Copyright 2012, 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.