Introduction - If you have any usage issues, please Google them yourself
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.
Packet : 33753157mfc_general_ctrlbars.rar filelist
mfc_general_ctrlbars\ctrlbars.clw
mfc_general_ctrlbars\ctrlbars.cpp
mfc_general_ctrlbars\ctrlbars.dsp
mfc_general_ctrlbars\ctrlbars.dsw
mfc_general_ctrlbars\ctrlbars.h
mfc_general_ctrlbars\ctrlbars.mak
mfc_general_ctrlbars\ctrlbars.rc
mfc_general_ctrlbars\l.jpn\ctrlbars.rc
mfc_general_ctrlbars\mainfrm.cpp
mfc_general_ctrlbars\mainfrm.h
mfc_general_ctrlbars\makefile
mfc_general_ctrlbars\palette.cpp
mfc_general_ctrlbars\palette.h
mfc_general_ctrlbars\res\ctrlbars.ico
mfc_general_ctrlbars\res\palette.bmp
mfc_general_ctrlbars\res\styles.bmp
mfc_general_ctrlbars\res\toolbar.bmp
mfc_general_ctrlbars\resource.h
mfc_general_ctrlbars\stdafx.cpp
mfc_general_ctrlbars\stdafx.h
mfc_general_ctrlbars\l.jpn
mfc_general_ctrlbars\res
mfc_general_ctrlbars