http://bugs.winehq.org/show_bug.cgi?id=28249
--- Comment #4 from drangon drangon.mail@gmail.com 2011-09-16 00:16:20 CDT --- I make some more test, it shows difference between top level window and sub window.
A simple dialog base application, there is a sub window in the dialog.
If I use the dialog window handle to create OpenGL context, it works file. If I use the sub window handle to create OpenGL context, all other code are the same, it block at the SetPixelFormat() function call.
What's difference between the top level window and the sub window ?