在初始化的时候加入以下函数 //去掉标题栏 ModifyStyle(WS_CAPTION, NULL, SWP_DRAWFRAME ); 转载于:https://my.oschina.net/Thekillersohot/blog/699583