Removes the button from the caption bar.
void RemoveButton();
The layout of caption bar elements are adjusted automatically.
Header: afxcaptionbar.h