|
Another great tip from Herbert Menke on how to make a docked toolbar wrapable:
WBool FormXYZ::FormXYZ_Resize( WObject * source, WResizeEventData * event ) { toolb_1->SetPainting( false, false, false ); toolb_1->CalculateSize( event->newPosition, true ); WWindow * backing = toolb_1->WWindow::GetParent(); backing->SetWidth( event->newPosition.w ); backing->SetHeight( toolb_1->GetHeight() ); toolb_1->SetPainting( true ); // the client area must be resized _resizeControls(); return false; }
Here is a tip from Herbert Menke about the Common Control Updates in the Internet Explorer:
Control Spy Exposes the Clandestine Life of Windows Common Controls
by Mark Finocchio
Control Spy is a suite of 22 programs - one Control Spy program for each Windows common control. This article covers how to use Control Spy to gain new insight into the common controls, including the Microsoft Internet Explorer 4.0 controls and the latest updates to older controls. An extract of the articles and a link to download the suite you can find at: