[ WM_RECALCPARENT This message is sent by a view to its parent window (obtained via GetParent) to force a layout recalculation (usually, the parent will call RecalcLayout). This is used in OLE server applications where it is necessary for the frame to grow in size as the view's total size grows.If the parent window processes this message it should return TRUE and fill the RECT passed in lParam with the new size of the client area. This is used in CScrollView to properly handle scrollbars (place then on the outside of the window when they are added) when a server object is in-place activated. ]貌似很复杂啊, WM_RECALCPARENT需要处理些什么, Elysium可不可以介绍下经验.
WM_RECALCPARENT This message is sent by a view to its parent window (obtained via GetParent) to force a layout recalculation (usually, the parent will call RecalcLayout). This is used in OLE server applications where it is necessary for the frame to grow in size as the view's total size grows.If the parent window processes this message it should return TRUE and fill the RECT passed in lParam with the new size of the client area. This is used in CScrollView to properly handle scrollbars (place then on the outside of the window when they are added) when a server object is in-place activated.
]貌似很复杂啊, WM_RECALCPARENT需要处理些什么, Elysium可不可以介绍下经验.
ON_MESSAGE(WM_RECALCPARENT, &CMainFrame::OnReCalcParent)但是似乎关浮动条的时候拦不到什么消息, 是否还有其他的办法?