CWnd style using OpenGL

I’ve got one more question.
What style should have a window (derived from CWnd) in which the OpenGL technology is used?
I place this window on a dialog using the standart CWnd::Create() function. So I should pass in the window style as an argument.
I have found some information ragarding to the preferable style. It is worth using WS_CLIPCHILDREN and WS_CLIPSIBLINGS styles plus starndart styles like WS_VISIBLE and WS_CHILD. However using mentioned styles together I met with a problem: sometimes the window stops responding. It occurs when the SetPixelFormat() is invoked. Without WS_CLIPCHILDREN and WS_CLIPSIBLINGS styles it goes fine.
Where is a problem?
Thank you in advance,

This is a double post. Ignore it and respond to the other copy