Krzysztof Mossakowski
Windows Programming
2006 - Tasks
Windows
Child windows.
Demonstration
The main window:
resizeable and moveable
overlapped
4 child windows:
always positioned as in the demonstration
named as in the demonstration
resizeable as in the demonstration
sizes of all windows must be changed when one of them is resized
ignore strange effects when size of the window is too small
caption bar
don't allow to close independently
not moveable
background color - color of active window's caption bar
Hints:
WM_MOVE, WM_MOVING
WM_SIZE, WM_SIZING
Approximate points:
child windows
creation: 1.5
background color: 0.5
names: 0.5
disabling moving: 2.0
disabling independent closing: 1.0
positioning according to the main window's size: 1.0
resizing as in the demonstration: 3.5