Strange implementation in one of the samples...
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all, Please take a look to one of the submitted code snippets, where the layout is recalculated: Link to sample in CodeProject: http://www.codeproject.com/docking/sizing\_tabctl.asp Part of the code: void CMainFrame::RecalcLayout(BOOL bNotify) { CMDIFrameWnd::RecalcLayout(bNotify); CMDIFrameWnd::RecalcLayout(bNotify); } Question: Why does the author calls the same RecalcLayout twice ?!?! Thanks, EiSl