Description: Multiple control bars in a frame window, selective hiding and showing of control bars, and dynamic rearrangement of controls along the border of the frame window. The control bars are allocated space in the frame window according to their Z-order, which initially is the order in which they are created (see CMainFrame:: OnCreate). CTRLBARS changes the Z-order of the dialog bar with the CWnd:: SetWindowPos function. It hides or shows a control bar using CWnd:: ShowWindow. Whenever CTRLBARS changes the Z-order or hides or shows a control bar, it calls CFrameWnd:: RecalcLayout afterward so that the window real estate is reallocated to the remaining visible control bars.
File list (Check if you may need any files):