Other options for WS_OVERLAPPEDWINDOW

closed account (jwkNwA7f)
What are more options for WS_OVERLAPPEDWINDOW?
1
2
3
4
5
6
7
8
9
10
11
12
hwnd = CreateWindow(
CLASS_NAME, 
APP_TITLE, 
WS_OVERLAPPEDWINDOW, // Other options
CW_USEDEFAULT, 
CW_USEDEFAULT, 
WINDOW_WIDTH, 
WINDOW_HEIGHT, 
(HWND) NULL,
(HMENU) NULL, 
hInstance, 
(LPVOID) NULL);


Thank you!
This page explains all the details of CreateWindow:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632679%28v=vs.85%29.aspx

Specifically.. it links to this page which lists valid values for the window style:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx
Last edited on
closed account (jwkNwA7f)
Thank you, Disch!

The second link answered my question.

The first link also helped alot too :)
As the first link Disch posted (about the CreateWindow function) says, there's also the CreateWindowEx function if you want to use the extended styles

Andy

CreateWindowEx function
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632680%28v=vs.85%29.aspx

Extended Window Styles
http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx
closed account (jwkNwA7f)
Those look great too. I'll try using these too.

Thank you!
Topic archived. No new replies allowed.