CDCLayoutBase Class

class CDCLayoutBase: public CLayoutNode

Implements a layout node which visual representation is accomplished by painting directly on the area of the master window.
Useful for a variety of situations, like:
Images and pictures without needing a separate child window.
Decorations around other elements, like grippers and borders.
Splitters.

Defined in: DCNode.h

Class Template Arguments

_Derived

Most derived layout node class. The CDCLayoutBase class is intended to be used as an intermediate base class, not as a concrete node type.

_LayoutIface

Interface the node class is going to supply. Must be or derive from ILayoutNode, which is the default.

Supported Interfaces

ILayoutNode

Basic layout node interface.

_LayoutIface

Second template parameter, identifies an interface derived from ILayoutNode.

Class Members

virtual void  OnPaint(HDC hDC = NULL)

void

virtual bool  PrepareDC(HDC)

Set up the DC for drawing