#include <resizedlg.h>
Inheritance diagram for CResizeDlg:
Public Member Functions | |
CResizeDlg (int DlgID, HWND hWndParent, HINSTANCE hInst) | |
virtual | ~CResizeDlg () |
virtual BOOL CALLBACK | DlgProc (HWND hDlg, UINT uMessage, WPARAM wParam, LPARAM lParam) |
PROPERTY (int, NumCols) | |
PROPERTY (int, NumRows) | |
PROPERTY (BOOL, Annotate) | |
PROPERTY (int, RowWeight) | |
PROPERTY (int, ColWeight) | |
PROPERTY (int, ControlCount) | |
Protected Member Functions | |
void | SpecialRowCol () |
void | DeterminNumberOfControls () |
virtual void | DoChangePos (WINDOWPOS *lpwp) |
int | FindCol (int pos) |
int | FindRow (int pos) |
void | AddToSystemMenu () |
void | DoInitDialog () |
void | PlaceControls () |
LONG | HitTest (LONG lCurrent) |
virtual void | DeterminWeights () |
void | Annotate () |
void | Sort (CEdge **, int iCount) |
void | WalkControls () |
virtual void | ResizeControls (WORD width, WORD height) |
void | FindControls () |
void | MakeAttatchments () |
void | FindBorders () |
void | FindCommonGuides () |
void | DeterminCols (CEdge **ppEdges, int iCount) |
void | DeterminRows (CEdge **ppEdges, int iCount) |
virtual void | AddGripper () |
virtual HDWP | SetGripperPos (HDWP hdwp) |
Protected Attributes | |
CControlList | m_ControlList |
CParentInfo | m_ParentInfo |
CHANNEL * | m_Rows |
CHANNEL * | m_Cols |
HWND | m_hwndGripper |
SPECIAL | m_SpecialRow |
SPECIAL | m_SpecialCol |
Private Types | |
typedef CDlg | BASECLASS |
|
Reimplemented in CScaleDlg. Definition at line 38 of file resizedlg.h. Referenced by CResizeDlg(). |
|
Definition at line 56 of file resizedlg.cpp. References BASECLASS, CResizeDlg(), FALSE, hInst, m_hwndGripper, and NULL. Referenced by CResizeDlg().
|
|
Definition at line 65 of file resizedlg.cpp.
|
|
Definition at line 1065 of file resizedlg.cpp. References GetClientRect(), GetSystemMetrics(), CDlg::GetWindow(), m_hwndGripper, and NULL. Referenced by DlgProc().
|
|
Definition at line 1038 of file resizedlg.cpp. Referenced by DoInitDialog().
|
|
Definition at line 723 of file resizedlg.cpp. References GetDC, CDlg::GetWindow(), GetWindowRect(), tagCHANNEL::iFixed, m_Cols, m_Rows, NULL, and ReleaseDC(). Referenced by DlgProc().
|
|
Definition at line 522 of file resizedlg.cpp. References DeterminCols(), FALSE, CEdge::GetPosition(), tagCHANNEL::iFixed, tagCHANNEL::iWeight, L, LEFT_AT, m_Cols, MIN_COL_SPACE, tagCHANNEL::Pos, RIGHT_AT, tagCHANNEL::Size, and TRACE. Referenced by DeterminCols(), and FindCommonGuides().
|
|
Definition at line 1230 of file resizedlg.cpp. References CDlg::GetWindow().
|
|
Definition at line 625 of file resizedlg.cpp. References BOTTOM_AT, DeterminRows(), FALSE, CEdge::GetPosition(), tagCHANNEL::iFixed, tagCHANNEL::iWeight, L, m_Rows, MIN_ROW_SPACE, tagCHANNEL::Pos, tagCHANNEL::Size, TOP_AT, and TRACE. Referenced by DeterminRows(), and FindCommonGuides().
|
|
Reimplemented in CScaleDlg. Definition at line 821 of file resizedlg.cpp. References tagCHANNEL::iFixed, tagCHANNEL::iWeight, m_Cols, and m_Rows. Referenced by FindCommonGuides().
|
|
Reimplemented from CDlg. Definition at line 75 of file resizedlg.cpp. References AddGripper(), Annotate(), BOOL, DefWindowProc(), DlgProc(), DoChangePos(), DoInitDialog(), FALSE, GetWindowRect(), HitTest(), NULL, ResizeControls(), SetWindowPos, TRUE, and UINT. Referenced by DlgProc().
|
|
Reimplemented in CScaleDlg. Definition at line 999 of file resizedlg.cpp. References DIMENSION, DoChangePos(), FALSE, CDlg::GetWindow(), GetWindowRect(), tagDIMENSION::Height, m_ParentInfo, and tagDIMENSION::Width. Referenced by DlgProc(), and DoChangePos().
|
|
Definition at line 1026 of file resizedlg.cpp. References AddToSystemMenu(), CParentInfo::GetHeight(), CParentInfo::GetWidth(), m_ParentInfo, ResizeControls(), and WalkControls(). Referenced by DlgProc().
|
|
Definition at line 228 of file resizedlg.cpp.
|
|
Definition at line 804 of file resizedlg.cpp. References FindCol(), m_Cols, and tagCHANNEL::Pos. Referenced by FindCol(), and PlaceControls().
|
|
Definition at line 426 of file resizedlg.cpp. References CEdge::Attatchment(), CGuide::Attatchment(), DeterminCols(), DeterminRows(), DeterminWeights(), CEdge::GetControlCount(), CEdge::GetGuide(), CParentInfo::GetHorizontalEdges(), CParentInfo::GetNumHoriz(), CParentInfo::GetNumVert(), CEdge::GetPosition(), CParentInfo::GetVerticalEdges(), L, m_ParentInfo, CGuide::NumAttatchments(), PlaceControls(), Sort(), and TRACE. Referenced by WalkControls().
|
|
Definition at line 178 of file resizedlg.cpp. References CDPA::Append(), CParentInfo::GetBottom(), CParentInfo::GetLeft(), CResizeControl::GetLocation(), CParentInfo::GetRight(), CParentInfo::GetTop(), CDlg::GetWindow(), L, m_ControlList, m_ParentInfo, TRACE, and CResizeControl::Valid(). Referenced by WalkControls().
|
|
Definition at line 787 of file resizedlg.cpp. References FindRow(), m_Rows, and tagCHANNEL::Pos. Referenced by FindRow(), and PlaceControls().
|
|
Definition at line 843 of file resizedlg.cpp. References HIGH, HitTest(), and WIDE. Referenced by DlgProc(), and HitTest().
|
|
Definition at line 239 of file resizedlg.cpp. References CControlList::GetControl(), and m_ControlList. Referenced by WalkControls().
|
|
Definition at line 910 of file resizedlg.cpp. References FindCol(), FindRow(), GetDlgCtrlID(), CResizeControl::GetLocation(), CDPA::GetPointer(), tagCHANNEL::iFixed, tagCHANNEL::iWeight, L, m_Cols, CResizeControl::m_Cons, m_ControlList, m_Rows, tagCHANNEL::Pos, and TRACE. Referenced by FindCommonGuides().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in CScaleDlg. Definition at line 268 of file resizedlg.cpp. References BeginDeferWindowPos(), BOOL, _tagSPECIAL::bSpecial, DeferWindowPos, EndDeferWindowPos(), CControlList::GetControlCount(), CDPA::GetPointer(), _tagSPECIAL::iAlignment, _tagSPECIAL::iMax, L, m_Cols, CResizeControl::m_Cons, m_ControlList, m_ParentInfo, m_Rows, m_SpecialCol, m_SpecialRow, NULL, tagCHANNEL::Pos, ResizeControls(), and SetGripperPos(). Referenced by DlgProc(), DoInitDialog(), and ResizeControls().
|
|
Definition at line 1086 of file resizedlg.cpp. References DeferWindowPos, GetClientRect(), GetSystemMetrics(), CDlg::GetWindow(), m_hwndGripper, NULL, and SetGripperPos(). Referenced by ResizeControls(), and SetGripperPos().
|
|
Definition at line 486 of file resizedlg.cpp. References CEdge::GetPosition(), and Sort(). Referenced by FindCommonGuides(), and Sort().
|
|
Definition at line 1250 of file resizedlg.cpp. References BOOL, _tagSPECIAL::bSpecial, FALSE, CParentInfo::GetHeight(), CResizeControl::GetLocation(), CDPA::GetPointer(), CParentInfo::GetWidth(), _tagSPECIAL::iAlignment, _tagSPECIAL::iDiff, _tagSPECIAL::iMax, _tagSPECIAL::iMin, CResizeControl::m_Cons, m_ControlList, m_ParentInfo, m_SpecialCol, m_SpecialRow, TRACE, and TRUE. Referenced by WalkControls().
|
|
Definition at line 162 of file resizedlg.cpp. References CParentInfo::DeterminBorders(), FindCommonGuides(), FindControls(), CDlg::GetWindow(), CParentInfo::Init(), m_ControlList, m_ParentInfo, MakeAttatchments(), and SpecialRowCol(). Referenced by DoInitDialog().
|
|
Definition at line 78 of file resizedlg.h. Referenced by Annotate(), DeterminCols(), DeterminWeights(), FindCol(), PlaceControls(), and ResizeControls(). |
|
Definition at line 67 of file resizedlg.h. Referenced by FindControls(), MakeAttatchments(), PlaceControls(), ResizeControls(), SpecialRowCol(), and WalkControls(). |
|
Definition at line 82 of file resizedlg.h. Referenced by AddGripper(), CResizeDlg(), and SetGripperPos(). |
|
Definition at line 68 of file resizedlg.h. Referenced by DoChangePos(), DoInitDialog(), FindCommonGuides(), FindControls(), ResizeControls(), SpecialRowCol(), and WalkControls(). |
|
Definition at line 77 of file resizedlg.h. Referenced by Annotate(), DeterminRows(), DeterminWeights(), FindRow(), PlaceControls(), and ResizeControls(). |
|
Definition at line 85 of file resizedlg.h. Referenced by ResizeControls(), and SpecialRowCol(). |
|
Definition at line 84 of file resizedlg.h. Referenced by ResizeControls(), and SpecialRowCol(). |