#include <DynamicWnd.h>
Inheritance diagram for CDynamicWnd:
Public Types | |
typedef signed char | SBYTE |
typedef SBYTE | SBYTES [4] |
mdNone = 0 | |
mdResize = 1 | |
mdRepos = 2 | |
mdRelative = 3 | |
fdNone = 0 | |
fdHoriz = 0x01 | |
fdVert = 0x02 | |
fdAll = fdHoriz|fdVert | |
fdHorz = fdHoriz | |
fdX = fdHoriz | |
fdY = fdVert | |
flSizeIcon = 0x01 | |
flAntiFlicker = 0x02 | |
flSWPCopyBits = 0x04 | |
_fl_reserved_ = 0x0000ffff | |
_fl_freeuse_ = 0xffff0000 | |
DEFAULT_TIMER_ID = 0x7164 | |
X1 = 0 | |
Y1 = 1 | |
X2 = 2 | |
Y2 = 3 | |
enum | Mode { mdNone = 0, mdResize = 1, mdRepos = 2, mdRelative = 3 } |
enum | Freedom { fdNone = 0, fdHoriz = 0x01, fdVert = 0x02, fdAll = fdHoriz|fdVert, fdHorz = fdHoriz, fdX = fdHoriz, fdY = fdVert } |
enum | Flags { flSizeIcon = 0x01, flAntiFlicker = 0x02, flSWPCopyBits = 0x04, _fl_reserved_ = 0x0000ffff, _fl_freeuse_ = 0xffff0000 } |
enum | { DEFAULT_TIMER_ID = 0x7164 } |
enum | { X1 = 0, Y1 = 1, X2 = 2, Y2 = 3 } |
Public Member Functions | |
CDynamicWnd (Freedom fd, UINT nFlags) | |
virtual | ~CDynamicWnd () |
bool | IsValid () const |
bool | IsWindow () const |
bool | IsUp () const |
bool | IsDisabled () const |
CWnd * | Window () const |
virtual UINT | GetCtrlCount () const |
bool | Enable () |
void | Disable () |
UINT | ModifyFlags (UINT nAdd, UINT nRem=0) |
UINT | GetFlags () const |
virtual CSize | GetCurrentClientSize () const |
CSize | GetBorderSize () const |
bool | AddSzXControl (HWND hwnd, SBYTE x1, SBYTE x2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzXControl (HWND hwnd, Mode md, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzYControl (HWND hwnd, SBYTE y1, SBYTE y2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzYControl (HWND hwnd, Mode md, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (HWND hwnd, Mode mdX, Mode mdY, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (HWND hwnd, SBYTE x1, SBYTE y1, SBYTE x2, SBYTE y2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (HWND hwnd, HWND hLikeThis, bool bReposNow=true) |
bool | AddSzControl (HWND hwnd, const SBYTES &bytes, const CSize &szMin=M_szNull, bool bReposNow=true) |
virtual bool | AddSzControl (HWND hwnd, const Position &pos, bool bReposNow=true) |
bool | AddSzXControl (UINT id, SBYTE x1, SBYTE x2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzXControl (UINT id, Mode md, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzYControl (UINT id, SBYTE y1, SBYTE y2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzYControl (UINT id, Mode md, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (UINT id, Mode mdX, Mode mdY, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (UINT id, SBYTE x1, SBYTE y1, SBYTE x2, SBYTE y2, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (UINT id, HWND hLikeThis, bool bReposNow=true) |
bool | AddSzControl (UINT id, const SBYTES &bytes, const CSize &szMin=M_szNull, bool bReposNow=true) |
bool | AddSzControl (UINT id, const Position &pos, bool bReposNow=true) |
void | AllControls (Mode mdX, Mode mdY, bool bOverwrite=false, bool bReposNow=true) |
void | AllControls (SBYTE x1, SBYTE y1, SBYTE x2, SBYTE y2, bool bOverwrite=false, bool bReposNow=true) |
void | AllControls (const SBYTES &bytes, bool bOverwrite=false, bool bReposNow=true) |
bool | GetControlPosition (HWND hwnd, Position &pos) |
bool | RemSzControl (HWND hwnd, bool bMoveToInitialPos=false) |
bool | UpdateControlPosition (HWND hwnd) |
virtual void | Layout () |
virtual void | StartAntiFlickering (bool bIsBotRight) |
HWND | GetSafeChildHWND (UINT nID) |
operator CWnd * () const | |
DECLARE_HIDDENENUM (__dynEntryType) | |
DECLARE_HIDDENSTRUCT (__dynEntry) | |
Public Attributes | |
Freedom | m_Freedom |
UINT | m_nFlags |
CSize | m_szInitial |
CSize | m_szMin |
CSize | m_szMax |
UINT | m_idSizeIcon |
UINT | m_nMyTimerID |
bool | m_bUseScrollPos |
Static Public Attributes | |
static const CSize | M_szNull |
static const SBYTES | TopLeft = { 0,0,0,0 } |
static const SBYTES | TopRight = { 100,0,100,0 } |
static const SBYTES | BotLeft = { 0,100,0,100 } |
static const SBYTES | BotRight = { 100,100,100,100 } |
Protected Member Functions | |
void | DoInitWindow (CWnd &rWnd, const CSize &szInitial) |
void | DoInitWindow (CWnd &rWnd) |
void | DoOnDestroy () |
void | DoOnParentNotify (UINT message, LPARAM lParam) |
void | DoOnTimer (UINT nIDEvent) |
void | DoOnSize (UINT nType, int cx, int cy) |
void | DoOnSizing (UINT fwSide, LPRECT pRect) |
void | DoOnGetMinMaxInfo (MINMAXINFO FAR *lpMMI) |
virtual bool | DoMoveCtrl (HWND hwnd, UINT id, CRect &rectNewPos, const CDynamicLayoutInfo &li) |
virtual void | DoDestroyCtrl (HWND hwnd) |
virtual void | OnInitialized () |
virtual void | OnDestroying () |
virtual CDynamicLayoutInfo * | DoCreateLayoutInfo () |
virtual const __dynEntry * | DECLARE_HIDDENFUNC (__getDynMap(const __dynEntry *pLast)) const |
Protected Attributes | |
int | m_iDisabled |
DWORD | m_dwClassStyle |
CMap< HWND, HWND, Position, const Position & > | m_Map |
Private Member Functions | |
DECLARE_HIDDENFUNC (CDynamicWnd(const CDynamicWnd &w)) | |
void | DECLARE_HIDDENFUNC (operator=(const CDynamicWnd &w)) |
void | _translate (Mode md, SBYTE &b1, SBYTE &b2) |
Private Attributes | |
CWnd * | m_pWnd |
CSizeIconCtrl * | m_pSizeIcon |
bool | m_bIsAntiFlickering |
Classes | |
class | Position |
The dynamic window manager.
Definition at line 169 of file DynamicWnd.h.
typedef signed char CDynamicWnd::SBYTE |
Definition at line 220 of file DynamicWnd.h.
typedef SBYTE CDynamicWnd::SBYTES[4] |
Definition at line 221 of file DynamicWnd.h.
anonymous enum |
anonymous enum |
enum CDynamicWnd::Flags |
Definition at line 198 of file DynamicWnd.h.
enum CDynamicWnd::Freedom |
enum CDynamicWnd::Mode |
CDynamicWnd::CDynamicWnd | ( | Freedom | fd, | |
UINT | nFlags | |||
) |
construction
Definition at line 118 of file DynamicWnd.cpp.
virtual CDynamicWnd::~CDynamicWnd | ( | ) | [inline, virtual] |
translates a "mode" into percentage
Definition at line 663 of file DynamicWnd.h.
References ASSERT, mdNone, mdRelative, mdRepos, and mdResize.
Referenced by AddSzControl(), AllControls(), and DoInitWindow().
bool CDynamicWnd::AddSzControl | ( | UINT | id, | |
const Position & | pos, | |||
bool | bReposNow = true | |||
) | [inline] |
bool CDynamicWnd::AddSzControl | ( | UINT | id, | |
HWND | hLikeThis, | |||
bool | bReposNow = true | |||
) | [inline] |
bool CDynamicWnd::AddSzControl | ( | HWND | hwnd, | |
const Position & | pos, | |||
bool | bReposNow = true | |||
) | [virtual] |
AddSzControl() -------------- Add a control that will react on changes to the parent window's size. hwnd - the child control. pos - describes what to do at all. bReposNow - true to immediately make the control change its position if necessary, false if not In the latter case you may like to call Layout() afterwards.
returns false if an invalid window has been passed to this funciton.
Definition at line 150 of file DynamicWnd.cpp.
References ASSERT, IsWindow(), m_Map, and UpdateControlPosition().
bool CDynamicWnd::AddSzControl | ( | HWND | hwnd, | |
const SBYTES & | bytes, | |||
const CSize & | szMin = M_szNull , |
|||
bool | bReposNow = true | |||
) | [inline] |
Add a control
Definition at line 527 of file DynamicWnd.h.
References AddSzControl(), IsWindow(), and VERIFY.
bool CDynamicWnd::AddSzControl | ( | HWND | hwnd, | |
HWND | hLikeThis, | |||
bool | bReposNow = true | |||
) | [inline] |
bool CDynamicWnd::AddSzControl | ( | HWND | hwnd, | |
Mode | mdX, | |||
Mode | mdY, | |||
const CSize & | szMin = M_szNull , |
|||
bool | bReposNow = true | |||
) | [inline] |
old
Definition at line 566 of file DynamicWnd.h.
References _translate(), b, X1, X2, Y1, and Y2.
Referenced by AddSzControl(), AddSzXControl(), AddSzYControl(), AllControls(), DoInitWindow(), CTacticDesignerDlgBar::OnInitDialog(), CSimulatorObjectViewerDlgBar::OnInitDialog(), CPotentialFieldViewerDlgBar::OnInitDialog(), COptionRatingDlgBar::OnInitDialog(), CMessageViewerDlgBar::OnInitDialog(), and CJointViewerDlgBar::OnInitDialog().
bool CDynamicWnd::AddSzXControl | ( | HWND | hwnd, | |
SBYTE | x1, | |||
SBYTE | x2, | |||
const CSize & | szMin = M_szNull , |
|||
bool | bReposNow = true | |||
) | [inline] |
Definition at line 302 of file DynamicWnd.h.
References AddSzControl().
Referenced by AddSzXControl().
bool CDynamicWnd::AddSzYControl | ( | HWND | hwnd, | |
SBYTE | y1, | |||
SBYTE | y2, | |||
const CSize & | szMin = M_szNull , |
|||
bool | bReposNow = true | |||
) | [inline] |
Definition at line 304 of file DynamicWnd.h.
References AddSzControl().
Referenced by AddSzYControl().
void CDynamicWnd::AllControls | ( | const SBYTES & | bytes, | |
bool | bOverwrite = false , |
|||
bool | bReposNow = true | |||
) |
Definition at line 182 of file DynamicWnd.cpp.
References AddSzControl(), ASSERT, IsWindow(), Layout(), m_Map, and m_pWnd.
void CDynamicWnd::AllControls | ( | SBYTE | x1, | |
SBYTE | y1, | |||
SBYTE | x2, | |||
SBYTE | y2, | |||
bool | bOverwrite = false , |
|||
bool | bReposNow = true | |||
) | [inline] |
short-cut
Definition at line 607 of file DynamicWnd.h.
void CDynamicWnd::AllControls | ( | Mode | mdX, | |
Mode | mdY, | |||
bool | bOverwrite = false , |
|||
bool | bReposNow = true | |||
) | [inline] |
short-cut
Definition at line 594 of file DynamicWnd.h.
References _translate(), b, X1, X2, Y1, and Y2.
Referenced by AllControls(), and DoInitWindow().
CDynamicWnd::DECLARE_HIDDENENUM | ( | __dynEntryType | ) | [inline] |
Definition at line 408 of file DynamicWnd.h.
virtual const __dynEntry* CDynamicWnd::DECLARE_HIDDENFUNC | ( | __getDynMap(const __dynEntry *pLast) | ) | const [inline, protected, virtual] |
Definition at line 421 of file DynamicWnd.h.
void CDynamicWnd::DECLARE_HIDDENFUNC | ( | operator | = (const CDynamicWnd & w) |
) | [inline, private] |
CDynamicWnd::DECLARE_HIDDENFUNC | ( | CDynamicWnd(const CDynamicWnd &w) | ) | [inline, private] |
CDynamicWnd::DECLARE_HIDDENSTRUCT | ( | __dynEntry | ) | [inline] |
Definition at line 414 of file DynamicWnd.h.
void CDynamicWnd::Disable | ( | ) | [inline] |
virtual CDynamicLayoutInfo* CDynamicWnd::DoCreateLayoutInfo | ( | ) | [inline, protected, virtual] |
void CDynamicWnd::DoDestroyCtrl | ( | HWND | hwnd | ) | [protected, virtual] |
void CDynamicWnd::DoInitWindow | ( | CWnd & | rWnd | ) | [protected] |
DoInitWindow() -------------- This function sets up the window pointer. It is recommended that "rWnd" points to an existing CWnd. However, it doesn't need to exist as long as you 1) provide a non-zero "szInitial" object. 2) don't want a size icon.
PARAMETERS:
rWnd - reference to your window ("*this") the window must exist (IsWindow(rWnd.m_hWnd) must be true) fd - Freedom (in which direction(s) your window shall be sizable BY THE USER): Possible values: fdAll, fdHorz, fdVert and fdNone. This is only applied to user-actions; resizing + layout may work even if the freedom parameter is fdNone (in that case user cannot resize your window, but you can). flags - several flags: flSizeIcon - creates a size icon flAntiFlicker - activates anti-flickering stuff [szInitial - initial client size]
Definition at line 486 of file DynamicWnd.cpp.
References ASSERT, DoInitWindow(), GetCurrentClientSize(), IsWindow(), and m_pWnd.
void CDynamicWnd::DoInitWindow | ( | CWnd & | rWnd, | |
const CSize & | szInitial | |||
) | [protected] |
Definition at line 494 of file DynamicWnd.cpp.
References _translate(), AddSzControl(), AllControls(), ASSERT, DYNAMIC_MAP_DEFAULT_ID, flSWPCopyBits, GetCtrlCount(), IsWindow(), m_nFlags, m_pWnd, m_szInitial, m_szMin, M_szNull, X1, X2, Y1, and Y2.
Referenced by DoInitWindow().
bool CDynamicWnd::DoMoveCtrl | ( | HWND | hwnd, | |
UINT | id, | |||
CRect & | rectNewPos, | |||
const CDynamicLayoutInfo & | li | |||
) | [protected, virtual] |
DoMoveCtrl() ------------ This virtual function is used to calculate a child window's new position based on the some data (from the CDynamicLayoutInfo object). This standard routine is made to implement the algorithm as known from the CDynamicControlsManager. You can implement your own code if you are not satisfied with the following function. If you need global data, overwrite DoCreateLayoutInfo() which will be called by Layout() and which you can use to collect these data once for the entire layout process.
PARAMETERS:
hwnd - handle of the child control id - its id rectNewPos - write the new position here in. initially contains the current position li - Some information on the parent window. You can provide extra information here by overwriting DoCreateLayoutInfo().
RETURN CODES:
return false if you don't want to move the control return true if you updated the control's position and stored it into "rectNewPos" If you don't change it, the control will not be moved.
#### don't move the control by yourself. Layout() will do for you to ensure that as little flickering as possible will occur.
Definition at line 436 of file DynamicWnd.cpp.
References CDynamicWnd::Position::Apply(), and GetControlPosition().
Referenced by Layout(), and UpdateControlPosition().
void CDynamicWnd::DoOnDestroy | ( | ) | [protected] |
Definition at line 595 of file DynamicWnd.cpp.
References IsWindow(), m_iDisabled, m_Map, m_pWnd, and OnDestroying().
Referenced by CDynamicDialog::DestroyWindow(), CDynamicDialog::OnDestroy(), CDynamicChildDlg::~CDynamicChildDlg(), CDynamicDialog::~CDynamicDialog(), and ~CDynamicWnd().
void CDynamicWnd::DoOnGetMinMaxInfo | ( | MINMAXINFO FAR * | lpMMI | ) | [protected] |
DoOnGetMinMaxInfo() ------------------- fill in MINMAXINFO as requested Call your CWnd's OnGetMinMaxInfo first ! [changed due to a bug reported by Michel Wassink <mww@mitutoyo.nl>]
Definition at line 697 of file DynamicWnd.cpp.
References fdHoriz, fdVert, GetBorderSize(), IsDisabled(), IsWindow(), m_Freedom, m_szMax, and m_szMin.
Referenced by CDynamicDialog::OnGetMinMaxInfo().
void CDynamicWnd::DoOnParentNotify | ( | UINT | message, | |
LPARAM | lParam | |||
) | [protected] |
Definition at line 733 of file DynamicWnd.cpp.
References DoDestroyCtrl().
Referenced by CDynamicDialog::OnParentNotify().
void CDynamicWnd::DoOnSize | ( | UINT | nType, | |
int | cx, | |||
int | cy | |||
) | [protected] |
DoOnSize() ---------- Calls Layout() if necessary.
Definition at line 614 of file DynamicWnd.cpp.
References IsDisabled(), IsWindow(), and Layout().
Referenced by CDynamicDialog::OnSize().
void CDynamicWnd::DoOnSizing | ( | UINT | fwSide, | |
LPRECT | pRect | |||
) | [protected] |
Definition at line 631 of file DynamicWnd.cpp.
References flAntiFlicker, IsDisabled(), IsWindow(), m_nFlags, m_nMyTimerID, and StartAntiFlickering().
Referenced by CDynamicDialog::OnSizing().
void CDynamicWnd::DoOnTimer | ( | UINT | nIDEvent | ) | [protected] |
DoOnTimer() ----------- Processes the timer associated to my DoOnSizing() routine. Changes back the class style.
Definition at line 675 of file DynamicWnd.cpp.
References IsWindow(), m_bIsAntiFlickering, m_dwClassStyle, m_nMyTimerID, and m_pWnd.
Referenced by CDynamicDialog::OnTimer().
bool CDynamicWnd::Enable | ( | ) | [inline] |
CSize CDynamicWnd::GetBorderSize | ( | ) | const [inline] |
get difference between window and client size
Definition at line 642 of file DynamicWnd.h.
References ASSERT, IsUp(), m_pWnd, and M_szNull.
Referenced by DoOnGetMinMaxInfo(), and CDynamicWndEx::StretchWindow().
bool CDynamicWnd::GetControlPosition | ( | HWND | hwnd, | |
Position & | pos | |||
) | [inline] |
virtual UINT CDynamicWnd::GetCtrlCount | ( | ) | const [inline, virtual] |
Definition at line 280 of file DynamicWnd.h.
References m_Map.
Referenced by DoInitWindow(), and CDynamicLayoutInfo::operator=().
CSize CDynamicWnd::GetCurrentClientSize | ( | ) | const [inline, virtual] |
get size of current client area
Definition at line 624 of file DynamicWnd.h.
References ASSERT, IsWindow(), m_pWnd, and M_szNull.
Referenced by DoInitWindow(), CDynamicLayoutInfo::operator=(), and CDynamicWndEx::StretchWindow().
UINT CDynamicWnd::GetFlags | ( | ) | const [inline] |
HWND CDynamicWnd::GetSafeChildHWND | ( | UINT | nID | ) | [inline] |
gets HWND of a child given by ID
Definition at line 679 of file DynamicWnd.h.
References ASSERT, IsWindow(), and m_pWnd.
Referenced by AddSzControl(), AddSzXControl(), and AddSzYControl().
bool CDynamicWnd::IsDisabled | ( | ) | const [inline] |
Definition at line 277 of file DynamicWnd.h.
References m_iDisabled.
Referenced by DoOnGetMinMaxInfo(), DoOnSize(), and DoOnSizing().
bool CDynamicWnd::IsUp | ( | ) | const [inline] |
Definition at line 276 of file DynamicWnd.h.
References IsWindow(), and m_pWnd.
Referenced by GetBorderSize(), and CDynamicLayoutInfo::operator=().
bool CDynamicWnd::IsValid | ( | ) | const [inline] |
bool CDynamicWnd::IsWindow | ( | ) | const [inline] |
Definition at line 275 of file DynamicWnd.h.
References IsValid(), and m_pWnd.
Referenced by AddSzControl(), AllControls(), DoInitWindow(), DoOnDestroy(), DoOnGetMinMaxInfo(), DoOnSize(), DoOnSizing(), DoOnTimer(), GetCurrentClientSize(), GetSafeChildHWND(), IsUp(), Layout(), CDynamicBar::OnCmdMsg(), CDynamicBar::OnCommand(), CDynamicWndEx::OnDestroying(), CDynamicWndEx::OnInitialized(), CSettingsDlgBar::OnSize(), CDynamicBar::OnUpdateCmdUI(), RemSzControl(), CDynamicWndEx::RestoreWindowPosition(), StartAntiFlickering(), CDynamicWndEx::StoreWindowPosition(), CDynamicWndEx::StretchWindow(), and UpdateControlPosition().
void CDynamicWnd::Layout | ( | ) | [virtual] |
Layout() -------- Iterates through all child windows and calls DoMoveCtrl() for them. This function is NOT virtual. To implement your own layout algorithm, please a) overwrite DoCreateLayoutInfo() to return an object of a class derived from CDynamicLayoutInfo. You can put any user-data into your object; it will be passed on to the DoMoveCtrl() function. b) overwrite DoMoveCtrl() and implement the layout logic. An example can be found in the example project, anytime.
Definition at line 302 of file DynamicWnd.cpp.
References ASSERT, DoCreateLayoutInfo(), DoMoveCtrl(), flSWPCopyBits, IsWindow(), CDynamicLayoutInfo::m_nCtrlCnt, m_nFlags, m_pWnd, and VERIFY.
Referenced by AllControls(), DoOnSize(), and CTimeDiagramDlgBar::OnPaint().
UINT CDynamicWnd::ModifyFlags | ( | UINT | nAdd, | |
UINT | nRem = 0 | |||
) | [inline] |
virtual void CDynamicWnd::OnDestroying | ( | ) | [inline, protected, virtual] |
Reimplemented in CDynamicWndEx.
Definition at line 376 of file DynamicWnd.h.
Referenced by DoOnDestroy().
virtual void CDynamicWnd::OnInitialized | ( | ) | [inline, protected, virtual] |
CDynamicWnd::operator CWnd * | ( | ) | const [inline] |
bool CDynamicWnd::RemSzControl | ( | HWND | hwnd, | |
bool | bMoveToInitialPos = false | |||
) |
RemSzControl() -------------- Removes a control from the internal list. The control will remain at its initial position if bMoveToInitialPos is false Returns false if an error occurred.
Definition at line 211 of file DynamicWnd.cpp.
References FALSE, IsWindow(), m_Map, and VERIFY.
void CDynamicWnd::StartAntiFlickering | ( | bool | bIsBotRight | ) | [virtual] |
Definition at line 648 of file DynamicWnd.cpp.
References IsWindow(), m_bIsAntiFlickering, m_dwClassStyle, m_nMyTimerID, and m_pWnd.
Referenced by DoOnSizing().
bool CDynamicWnd::UpdateControlPosition | ( | HWND | hwnd | ) |
UpdateControlPosition() ======================= Move control to its desired position. returns false if HWND is not valid.
Definition at line 237 of file DynamicWnd.cpp.
References ASSERT, DoCreateLayoutInfo(), DoMoveCtrl(), CDynamicLayoutInfo::IsInitial(), IsWindow(), and VERIFY.
Referenced by AddSzControl().
CWnd* CDynamicWnd::Window | ( | ) | const [inline] |
Definition at line 278 of file DynamicWnd.h.
References m_pWnd.
Referenced by CDynamicWndEx::OnInitialized(), CDynamicLayoutInfo::operator=(), CDynamicWndEx::RestoreWindowPosition(), CDynamicWndEx::StoreWindowPosition(), and CDynamicWndEx::StretchWindow().
const CDynamicWnd::SBYTES CDynamicWnd::BotLeft = { 0,100,0,100 } [static] |
Definition at line 425 of file DynamicWnd.h.
const CDynamicWnd::SBYTES CDynamicWnd::BotRight = { 100,100,100,100 } [static] |
Definition at line 425 of file DynamicWnd.h.
bool CDynamicWnd::m_bIsAntiFlickering [private] |
Definition at line 264 of file DynamicWnd.h.
Referenced by CDynamicChildDlg::CDynamicChildDlg(), and CDynamicLayoutInfo::operator=().
DWORD CDynamicWnd::m_dwClassStyle [protected] |
int CDynamicWnd::m_iDisabled [protected] |
Definition at line 251 of file DynamicWnd.h.
Referenced by Disable(), DoOnDestroy(), Enable(), and IsDisabled().
Definition at line 262 of file DynamicWnd.h.
CMap<HWND,HWND,Position,const Position &> CDynamicWnd::m_Map [protected] |
Definition at line 254 of file DynamicWnd.h.
Referenced by AddSzControl(), AllControls(), DoDestroyCtrl(), DoOnDestroy(), GetControlPosition(), GetCtrlCount(), and RemSzControl().
Definition at line 258 of file DynamicWnd.h.
Referenced by DoInitWindow(), DoOnSizing(), GetFlags(), Layout(), and ModifyFlags().
Definition at line 263 of file DynamicWnd.h.
Referenced by DoOnSizing(), DoOnTimer(), and StartAntiFlickering().
CSizeIconCtrl* CDynamicWnd::m_pSizeIcon [private] |
Definition at line 247 of file DynamicWnd.h.
CWnd* CDynamicWnd::m_pWnd [private] |
Definition at line 246 of file DynamicWnd.h.
Referenced by AllControls(), DoInitWindow(), DoOnDestroy(), DoOnTimer(), GetBorderSize(), GetCurrentClientSize(), GetSafeChildHWND(), IsUp(), IsValid(), IsWindow(), Layout(), operator CWnd *(), StartAntiFlickering(), and Window().
CSize CDynamicWnd::m_szInitial |
Definition at line 259 of file DynamicWnd.h.
Referenced by DoInitWindow(), and CDynamicLayoutInfo::operator=().
CSize CDynamicWnd::m_szMax |
CSize CDynamicWnd::m_szMin |
const CSize CDynamicWnd::M_szNull [static] |
Definition at line 424 of file DynamicWnd.h.
Referenced by DoInitWindow(), GetBorderSize(), and GetCurrentClientSize().
const CDynamicWnd::SBYTES CDynamicWnd::TopLeft = { 0,0,0,0 } [static] |
Definition at line 425 of file DynamicWnd.h.
const CDynamicWnd::SBYTES CDynamicWnd::TopRight = { 100,0,100,0 } [static] |
Definition at line 425 of file DynamicWnd.h.