|
-
February 24th, 2008, 08:45 PM
#1
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
-
February 24th, 2008, 10:12 PM
#2
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.
-
February 24th, 2008, 10:16 PM
#3
Re: Removing the caption border (FULL SCREEN)
WS_POPUP did the job, thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|