Share via


CContainedWindow::RegisterWndSuperclass

ATOM RegisterWndSuperClass( );

Return Value

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

Remarks

Called by Create to register the window class of the contained window. This window class is based on an existing class but uses CContainedWindow::WindowProc. The existing window class’s name and window procedure are saved in m_lpszClassName and m_pfnSuperWindowProc, respectively.

CContainedWindow OverviewClass Members

See Also

CContainedWindow::CContainedWindow