rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

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 >

List of all members.

Public Member Functions

 IlvATLInterface (REFIID rIID, char const *identifier, IlvDisplay *display, IlvRect const &bbox, IlvView *parent=0)
 Constructor.
HWND getHWnd () const
 Returns the handle to the system windows associated to the ATL hosting control.

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:
rIID A REFIID.
identifier A const pointer to a C string.
display A pointer to an IlvDisplay.
bbox A 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.