我正在尝试删除窗口的标准框架。我成功地将框架扩展到客户区域,但以下代码段不起作用。我的窗户看起来和没有它时一模一样....
if (message == WM_CREATE)
{
RECT rcClient;
GetWindowRect(hWnd, &rcClient);
// Inform the application of the frame change.
SetWindowPos(hWnd,
NULL,
rcClient.left, rcClient.top,
(rcClient.right - rcClient.left), (rcClient.bottom - rcClient.top),
SWP_FRAMECHANGED);
}
有人可以帮我吗?