Condividi tramite


AtlAxWinInit

This function initializes ATL's control hosting code by registering the "AtlAxWin80" and "AtlAxWinLic80" window classes plus a couple of custom window messages.

ATLAPI_(BOOL) AtlAxWinInit( );

Return Value

Nonzero if the initialization of the control hosting code was successful; otherwise FALSE.

Remarks

This function must be called before using the ATL control hosting API. Following a call to this function, the "AtlAxWin" window class can be used in calls to CreateWindow or CreateWindowEx, as described in the Windows SDK.

For more details on when to call this function, see When Do I Need To Call AtlAxWinInit?

Requirements

Header: atlhost.h

See Also

Reference

AtlAxWinTerm

Concepts

Composite Control Fundamentals

Other Resources

Composite Control Global Functions