Removing the caption border (FULL SCREEN)
I am wanting to go full screen, I have done this:
(HANDWRITTEN CODE, Syntax may be incorrect)
Code:
HWND hWnd = CreateWindowEx(NULL, szWindowClass, szWindowTitle, NULL, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
ShowWindow(hWnd, SW_SHOWMAXIMIZED);
UpdateWindow(hWnd);
That gets the desired result, except the Caption Border (the blue bar up the top of all windows) is still there...
How can I remove that?
Cheers
Re: Removing the caption border (FULL SCREEN)
I think you should only use WS_POPUP on dwStyle parameter.
Now if this is for DirectX then lookup IDirect3D9::CreateDevice function.
Re: Removing the caption border (FULL SCREEN)
WS_POPUP did the job, thank you