Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which ATL Classes Facilitate ActiveX Control Containment?

Answer Posted / mushtaq ahmad

Which ATL Classes Facilitate ActiveX Control Containment?

ATL's control-hosting code doesn't require you to use any
ATL classes; you can simply create an "AtlAxWin80" window
and use the control-hosting API if necessary (for more
information, see What Is the ATL Control-Hosting API?).
However, the following classes make the containment
features easier to use.

Class Description
CAxWindow
Wraps an "AtlAxWin80" window, providing methods for
creating the window, creating a control and/or attaching a
control to the window, and retrieving interface pointers on
the host object.

CAxWindow2T
Wraps an "AtlAxWinLic80" window, providing methods for
creating the window, creating a control and/or attaching a
licensed control to the window, and retrieving interface
pointers on the host object.

CComCompositeControl
Acts as a base class for ActiveX control classes based on
a dialog resource. Such controls can contain other ActiveX
controls.

CAxDialogImpl
Acts as a base class for dialog classes based on a dialog
resource. Such dialogs can contain ActiveX controls.

CWindow
Provides a method, GetDlgControl, that will return an
interface pointer on a control, given the ID of its host
window. In addition, the Windows API wrappers exposed by
CWindow generally make window management easier.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What changes does a control need to run in an MFC 4.2b container?

2247


How to Use structs in Automation-compatible interfaces?

2962


How to Implement static object hierarchies in ATL ?

3588


what type of questions are asked in the test of pcs and what type of questoins are asked by interviewer in pcs interview.

2667


why we write function's implementation in .h file while developing the Web application through VC++?

2839


Will ATL create all of the topological relationships within the topology layer?

2070


What changes does a control need to run in the Visual Basic 5.0 Control Creation Edition?

2072


How to Obtain data from the client via an outgoing event dispinterface in ATL ?

3066


How to get the tag to work with an ATL control?

2021


Does ATL require an application server to operate?

2438


Why is the put_Font or putref_Font method not called when an ActiveX control's Font property is changed by the ActiveX Control Pad?

2408