专题文章
时长:00:00更新时间:2024-11-30 12:10:52
隐藏标题栏时,可以使用以下代码。LONG lStyle = ::GetWindowLong(this->;m_hWnd.GWL_STYLE)。::SetWindowLong(this->;m_hWnd.GWL_STYLE.lStyle & ~WS_CAPTION)。::SetWindowPos(this->;m_hWnd.NULL.0.0.0.0.SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE | SWP_FRAMECHANGED)。显示标题栏时,代码如下:::SetWindowLong(this->;m_hWnd.GWL_STYLE.lStyle | WS_CAPTION)。
查看详情