|
-
July 7th, 2002, 09:32 PM
#1
Please help : trouble with device contexts for openGL in win 2000
I am working in open gl, in windows, using XVT for GUIs. I am, and can not, due to constraints, use MFC. I am using the command GetWindowsDC () to get the HDC in order to render openGL onto that window. It works fine in Windows ME, 98 and its brethren, but in case of Win 2000 and XP what happens is the entire rendered image is shifted onto the window title bar. I have tried using GetDC () to get the device context, which supposedly should get me the device context for the client area of the window, but then the function wglCreateContext () does not work for some reason. Please advise.
Akash
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
|