If you choose the WS_EX_SMALLCAPTION attribute for a form it makes the caption small but it also adds space to the bottom of the form.
David
In the designer, or at run-time?
Run-time
I guess you mean that all all the controls on the form move up slightly causing a small space to appear at the bottom. This is because the caption height at runtime is smaller than at design time. I will have to look into this one closer to see if there is a good solution.
You know, I noticed this too using WS_EX_TOOLWINDOW (same constant) but thought it was just my eyes. :shock:
GetClientRect grows by "3" when WS_EX_TOOLWINDOW is used.
GetWindowRect stays the same.
This indicates the client area gew to compensate for the shortened height of the titlebar.