CClientWindowImpl Class

class CClientWindowImpl: public _Base (default is CComModule)

Base class for client windows

Defined in: ClientWnd.h

Class Template Arguments

typename _Derived

The ultimately-derived class

_Traits = CClientWindowTraits

Window creation flags

_Base = ATL::CWindowImpl, CWindow, _Traits

Base class

Comments

Sometimes your application architecture calls for non-frame windows. For example, many applications require the rendering and drawing code to be separate from the frame. SFL supports this requirement through its client windows. SFL defines its client windows through CClientWindowImpl. Client windows are usually children of frame windows. SFL's client window class is usually mixed in with other classes.

The main benefit of the CClientWindowImpl is that it defines a window class with client window creation flags. The flags used by CClientWindowTraits include WS_CLIPCHILDREN. WS_CLIPSIBLINGS, WS_CHILD, WS_VISIBLE, WS_EX_STATICEDGE.