OK, I guess I´m very close to get it working, but I have got one Problem left.
I use Borland C++ Builder 5 and it´s forms.
I only have got one form for the OGL program.
Now if I setup a temporary GLRC in order to initialize the WGL functions, that works.
But if I try to call SetPixelFormat a second time (after using wglChoosePixelFormatARB) with the Pixelformat index, that IS capable of AA (checked the index and it´s values with the NVIDIA Pixelformat App), the call fails.
I think the NVIDIA doc mentions this in some way (when you try to use the Dektop Window hWnd an hDC).
So I guess I have to setup a REAL new window, in order to retrieve it´s hWnd and hDC first, then initialize the WGL functions and after that the second call of SetPixelFormat should work.
But my question is (guess for many people here a pretty simple one g):
HOW do I create a temp Window?
I guess I have to use CreateWindow or CreatWindowEx function, but I NEVER had to use them, becaus I use Borland´s forms.
Any very easy samples for that (I know the NeHe Tuts use the CreateWindowEx function, but SO MANY lines of code for “ONLY” a new window)?
Please HELP me .
Diapolo
[This message has been edited by Diapolo (edited 02-14-2002).]