在CreateWindow语句后加上这段代码

SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) & ~WS_CAPTION);

快去试下吧!

C++Win32窗口取消标题栏

相关文章: