怎样隐藏标题栏???【点击查看详情】
隐藏标题栏时,可以使用以下代码。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)。
相关视频/文章