然后在ON_SIZE中处理,判断类型: afx_msg void OnSize( UINT nType, int cx, int cy ); Parameters nType Specifies 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. cx Specifies the new width of the client area. cy Specifies the new height of the client area.
以前我使用过HIGH C7.0开发过AutoCAD for dos的应用,现在可能有AutoCAD for Win的专门的二次开发的工具吧
afx_msg void OnSize(
UINT nType,
int cx,
int cy
);
Parameters
nType
Specifies 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.
cx
Specifies the new width of the client area.
cy
Specifies the new height of the client area.