Share via


CContainedWindowT::RegisterWndSuperclass

 

Called by Create to register the window class of the contained window.

Syntax

ATOM RegisterWndSuperClass( );

Return Value

If successful, an atom that uniquely identifies the window class being registered; otherwise, zero.

Remarks

This window class is based on an existing class but uses CContainedWindowT::WindowProc. The existing window class's name and window procedure are saved in m_lpszClassName and m_pfnSuperWindowProc, respectively.

Requirements

Header: atlwin.h

See Also

CContainedWindowT Class
CContainedWindowT::CContainedWindowT