CDynamicWnd::Position Class Reference

#include <DynamicWnd.h>

List of all members.

Public Member Functions

 Position ()
 Position (const CRect &rect, const SBYTES &bytes, const CSize &szMin=M_szNull)
 ~Position ()
void operator= (const CRect &rectInitial)
void operator= (const SBYTES &bytes)
void operator= (const CSize &szMin)
void Apply (HWND hwnd, CRect &rectNewPos, const CDynamicLayoutInfo &li) const

Public Attributes

SBYTES m_Bytes
CSize m_szMin


Detailed Description

Definition at line 225 of file DynamicWnd.h.


Constructor & Destructor Documentation

CDynamicWnd::Position::Position (  )  [inline]

Definition at line 234 of file DynamicWnd.h.

CDynamicWnd::Position::Position ( const CRect &  rect,
const SBYTES bytes,
const CSize &  szMin = M_szNull 
) [inline]

Definition at line 235 of file DynamicWnd.h.

References operator=().

CDynamicWnd::Position::~Position (  )  [inline]

Definition at line 236 of file DynamicWnd.h.


Member Function Documentation

void CDynamicWnd::Position::Apply ( HWND  hwnd,
CRect &  rectNewPos,
const CDynamicLayoutInfo li 
) const

Standard Controller's Position() routine This has the same functionality as known from the former CDynamicControlsManager class.

One exception is the new "szMin" property which allows the class to "hide" the control if it becomes too small (it will be moved outside the client area).

Definition at line 60 of file DynamicWnd.cpp.

References CDynamicLayoutInfo::m_bUseScrollPos, m_Bytes, CDynamicLayoutInfo::m_pntScrollPos, CDynamicLayoutInfo::m_szDelta, m_szMin, CDynamicWnd::X1, CDynamicWnd::X2, CDynamicWnd::Y1, and CDynamicWnd::Y2.

Referenced by CDynamicWnd::DoMoveCtrl().

void CDynamicWnd::Position::operator= ( const CSize &  szMin  )  [inline]

Definition at line 240 of file DynamicWnd.h.

References m_szMin.

void CDynamicWnd::Position::operator= ( const SBYTES bytes  )  [inline]

Definition at line 239 of file DynamicWnd.h.

References m_Bytes.

void CDynamicWnd::Position::operator= ( const CRect &  rectInitial  )  [inline]

Definition at line 238 of file DynamicWnd.h.

Referenced by Position().


Member Data Documentation

SBYTES CDynamicWnd::Position::m_Bytes

Definition at line 230 of file DynamicWnd.h.

Referenced by Apply(), and operator=().

CSize CDynamicWnd::Position::m_szMin

Definition at line 231 of file DynamicWnd.h.

Referenced by Apply(), and operator=().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:20:22 2006 for DT2005.panorama by  doxygen 1.4.7