Using CreateWindow I have already tried almost all possible dwStyle parameters, but I didn’t manage to make a window with a thin frame without a Title Bar . Maybe this should be done in a completely different place?

  • @Alekcvp I tried everything, but somehow I missed it. Thanks It works! - Kirill Trofimov
  • Transferred in response. - Alekcvp

1 answer 1

Try WS_POPUP or WS_DLGFRAME or WS_POPUP or WS_BORDER .
In this case, dwExStyle := 0 .