rt!

解决方案 »

  1.   

    处理对话框的WM_SIZE消息
    得到对话框的大小
    然后treectrl MoveWindow or SetWindowPos
      

  2.   

    OnSize(UINT nType, int cx, int cy) nTypeSpecifies the type of resizing requested. This parameter can be one of the following values: SIZE_MAXIMIZED   Window has been maximized.
    SIZE_MINIMIZED   Window has been minimized.
    SIZE_RESTORED   Window has been resized, but neither SIZE_MINIMIZED nor SIZE_MAXIMIZED applies.
    SIZE_MAXHIDE   Message is sent to all pop-up windows when some other window is maximized.
    SIZE_MAXSHOW   Message is sent to all pop-up windows when some other window has been restored to its former size.
      

  3.   

    如果是SDK,在WM_SIZE消息中处理