16-bit Windows has no comctl32.dll, so CToolBar and CStatusBar had no
window. src/win16bar.cpp registers two window classes that do the
toolbar and status bar messages that the MFC classes send, and draws
them in the 3D style of the system colors.
- The classes have their own names (AfxToolbar16, AfxStatusBar16).
Wine can also have the 32-bit comctl32 classes, which do not read
the 16-bit structures.
- A UINT has 16 bits on Win16. The TBBS_ button styles now put the
state in the high byte, as in MFC 2.5, and SBPS_DISABLED and
SBPS_STRETCH fit in 16 bits.
- tests/win16bar.cpp tests the layout, clicks, idle updates, the
message pane, docking, floating and ShowControlBar in Wine.
Claude-Session: https://claude.ai/code/session_01B82eRRTV4u8c9f3gQUmqvq
Co-authored-by: Claude <noreply@anthropic.com>