CControlBar::CalcDynamicLayout

This method is called by the framework to calculate the dimensions of a dynamic toolbar.

Override this method to provide your own dynamic layout in classes you derive from CControlBar. MFC classes derived from CControlBar, such as CToolbar, override this method and provide their own implementation.

At a Glance

Header file: Afxext.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode );