和这位兄弟遇到了同样的问题,但是他这个贴子也没人给出解决答案,所以在此再发贴问一下,
http://topic.csdn.net/t/20031128/13/2505204.html

解决方案 »

  1.   

    CRECT是一个类,封装了 RECT 结构体的操作typedef struct tagRECT { 
       LONG left;
       LONG top;
       LONG right;
       LONG bottom;
    } RECT;
      

  2.   

    ConstructionCRect
    Constructs a CRect object.
    OperationsBottomRight
    Returns the bottom-right point of CRect.CenterPoint
    Returns the centerpoint of CRect.CopyRect
    Copies the dimensions of a source rectangle to CRect.DeflateRect
    Decreases the width and height of CRect.EqualRect
    Determines whether CRect is equal to the given rectangle.Height
    Calculates the height of CRect.InflateRect
    Increases the width and height of CRect.IntersectRect
    Sets CRect equal to the intersection of two rectangles.IsRectEmpty
    Determines whether CRect is empty. CRect is empty if the width and/or height are 0.IsRectNull
    Determines whether the top, bottom, left, and right member variables are all equal to 0.MoveToX
    Moves CRect to the specified x-coordinate.MoveToXY
    Moves CRect to the specified x- and y-coordinates.MoveToY
    Moves CRect to the specified y-coordinate.NormalizeRect
    Standardizes the height and width of CRect.OffsetRect
    Moves CRect by the specified offsets.PtInRect
    Determines whether the specified point lies within CRect.SetRect
    Sets the dimensions of CRect.SetRectEmpty
    Sets CRect to an empty rectangle (all coordinates equal to 0).Size
    Calculates the size of CRect.SubtractRect
    Subtracts one rectangle from another.TopLeft
    Returns the top-left point of CRect.UnionRect
    Sets CRect equal to the union of two rectangles.Width
    Calculates the width of CRect.
    Operatorsoperator !=
    Determines whether CRect is not equal to a rectangle.operator &
    Creates the intersection of CRect and a rectangle and returns the resulting CRect.operator &=
    Sets CRect equal to the intersection of CRect and a rectangle.operator –
    Subtracts the given offsets from CRect or deflates CRect and returns the resulting CRect.operator |
    Creates the union of CRect and a rectangle and returns the resulting CRect.operator |=
    Sets CRect equal to the union of CRect and a rectangle.operator +
    Adds the given offsets to CRect or inflates CRect and returns the resulting CRect.operator +=
    Adds the specified offsets to CRect or inflates CRect.operator =
    Copies the dimensions of a rectangle to CRect.operator –=
    Subtracts the specified offsets from CRect or deflates CRect.operator ==
    Determines whether CRect is equal to a rectangle.operator LPCRECT
    Converts a CRect to an LPCRECT.operator LPRECT
    Converts a CRect to an LPRECT.
      

  3.   

    MFC提供的文档保存功能相对来说没啥用。目前大型的数据格式都是直接定义的,没有见过MFC的数据文档保存。