View Full Version : WS_CLIPSIBLINGS and WS_CLIPCHILDREN
are WS_CLIPSIBLINGS and WS_CLIPCHILDREN realy required window styles for an openGL window? I don't use them but I always see that they are required.
11-21-2001, 09:17 PM
YES, you need WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, //==Windows style
really, you need them also wenn you write a fullscreen app.
Maybe you should look at the MSDN !!!
I never use them for fullscreen or windowed and my app works just fine. So why would you need them.
11-22-2001, 11:00 PM
Here is a little piece of my Code:
hWnd = CreateWindow(
"ByteZero 23", //CLASS NAME
"ByteZero 23", //Window Name
WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, //Windows style
0, 0, //Origin of the SCREEN
SCREEN_WIDTH, SCREEN_HEIGHT, //Dimension of the Screen
The WS_ .... Stuff is just for the Windows Style if you don't use it in this Function you get Errors !!!!
Maybe some appz work without WS_ .... Stuff but I 've never tried it.
I haven't had an error with my windowed app and I tested it on 3 different pc's.
only the fullscreen only worked at 1 pc.
11-25-2001, 10:10 PM
I don't know what's happen with your Code please send me your code.
I will try to find the problem !!!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.