CWinTraits

This class provides a simple method of standardizing the traits of an ATL window object. You are able to specify both the standard and extended styles for the ATL window object.

The CWinTraits class can be used, as a template parameter for creating ATL window classes, to specify the styles for the window object.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

template <DWORD t_dwStyle = 0, DWORD t_dwExStyle = 0>

class CWinTraits

Remarks

Windows CE does not support the following dwExStyle flags:

WS_EX_ACCEPTFILES WS_EX_LEFTSCROLLBAR
WS_EX_LEFT WS_EX_MDICHILD
WS_EX_LTRREADING WS_EX_PALETTEWINDOW
WS_EX_NOPARENTNOTIFY WS_EX_RIGHTSCROLLBAR
WS_EX_RIGHT WS_EX_TOOLWINDOW
WS_EX_RTLREADING WS_EX_TRANSPARENT
WS_EX_APPWINDOW  

Windows CE does not support the following dwStyle flags:

WS_CHILDWINDOW WS_ICONIC
WS_MAXIMIZE WS_MAXIMIZEBOX
WS_MINIMIZE WS_MINIMIZEBOX
WS_OVERLAPPEDWINDOW WS_POPUPWINDOW
WS_SIZEBOX WS_THICKFRAME
WS_TILED WS_TILEDWINDOW