When Do I Need to Call AtlAxWinInit?

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at When Do I Need to Call AtlAxWinInit?.

AtlAxWinInit](../Topic/AtlAxWinInit.md) registers the "AtlAxWin80" window class (plus a couple of custom window messages) so this function must be called before you try to create a host window. However, you don't always need to call this function explicitly, since the hosting APIs (and the classes that use them) often call this function for you. There is no harm in calling this function more than once. .

When Do I Need to Call AtlAxWinTerm
Control Containment FAQ

Show: