with GetWindowDc [...] - a standard for Own new Buttons there this but imho not, You müsstest Buttons according to Style/Manifesto on the Window-DC [...] malen.
then _vielleicht same rather the complete Window self malen or "wenigstens" any system-Menu-Buttons.