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...

What Is the ATL Control-Hosting API?

Answer Posted / mushtaq ahmad

ATL's control-hosting API is the set of functions that
allows any window to act as an ActiveX control container.
These functions can be statically or dynamically linked
into your project since they are available as source code
and exposed by ATL80.dll. The control-hosting functions are
listed in the table below.

Function Description
AtlAxAttachControl
Creates a host object, connects it to the supplied window,
then attaches an existing control.

AtlAxCreateControl
Creates a host object, connects it to the supplied window,
then loads a control.

AtlAxCreateControlLic
Creates a licensed ActiveX control, initializes it, and
hosts it in the specified window, similar to
AtlAxCreateControl.

AtlAxCreateControlEx
Creates a host object, connects it to the supplied window,
then loads a control (also allows event sinks to be set up).

AtlAxCreateControlLicEx
Creates a licensed ActiveX control, initializes it, and
hosts it in the specified window, similar to
AtlAxCreateControlLic.

AtlAxCreateDialog
Creates a modeless dialog box from a dialog resource and
returns the window handle.

AtlAxDialogBox
Creates a modal dialog box from a dialog resource.

AtlAxGetControl
Returns the IUnknown interface pointer of the control
hosted in a window.

AtlAxGetHost
Returns the IUnknown interface pointer of the host object
connected to a window.

AtlAxWinInit
Initializes the control-hosting code.

AtlAxWinTerm
Uninitializes the control-hosting code.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2070


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

2247


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

2839


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

2021


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


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

3065


Does ATL require an application server to operate?

2437


How to Implement static object hierarchies in ATL ?

3588


How to Use structs in Automation-compatible interfaces?

2962


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

2071


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

2666