template < DWORD t_dwStyle = 0, DWORD t_dwExStyle = 0, class TWinTraits = CControlWinTraits >
class CWinTraitsOR
Parameters
t_dwStyle
Default window styles.
t_dwExStyle
Default extended window styles.
CWinTraitsOR provides default values for window styles and extended styles used to create a window. These values will be added (using the logical OR operator) to values provided during the creation of a window.
In addition to CWinTraitsOR, CWinTraits provides the same functionality without the ability to combine styles.
#include <atlwin.h>