Allows you to specify the parameters of a class. Place this macro in an ATL ActiveX control's control class.
This macro allows you to specify the name of a window class that will superclass an existing window class. CWndClassInfo manages the information of the superclass.
DECLARE_WND_SUPERCLASS implements the following static function:
By default, CWindowImpl uses the DECLARE_WND_CLASS macro to create a window based on a new window class. By specifying the DECLARE_WND_SUPERCLASS macro in a CWindowImpl-derived class, the window class will be based on an existing class but will use your window procedure. This technique is called superclassing.
Besides using the DECLARE_WND_CLASS and DECLARE_WND_SUPERCLASS macros, you can override the GetWndClassInfo function with your own implementation.
For more information about using windows in ATL, see the article ATL Window Classes.