Click here to Skip to main content
15,905,912 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC or Win32? Pin
LiquidKnight2-Feb-03 10:20
LiquidKnight2-Feb-03 10:20 
AnswerRe: MFC or Win32? Pin
Chris Losinger2-Feb-03 10:25
professionalChris Losinger2-Feb-03 10:25 
AnswerRe: MFC or Win32? Pin
willempipi2-Feb-03 21:24
willempipi2-Feb-03 21:24 
General.NET runtime environments Pin
Anonymous2-Feb-03 9:48
Anonymous2-Feb-03 9:48 
GeneralRe: .NET runtime environments Pin
Michael Dunn2-Feb-03 10:20
sitebuilderMichael Dunn2-Feb-03 10:20 
GeneralRe: .NET runtime environments Pin
Joaquín M López Muñoz2-Feb-03 10:17
Joaquín M López Muñoz2-Feb-03 10:17 
GeneralOpenGL and VS.NET Pin
Michael A. Barnhart2-Feb-03 9:21
Michael A. Barnhart2-Feb-03 9:21 
GeneralRe: OpenGL and VS.NET Pin
Ben Burnett3-Feb-03 10:41
Ben Burnett3-Feb-03 10:41 
My advice would be to force the context to not be the current one. A call to wglMakeCurrent with NULL for both parameters should do this. I realize MSDN says that wglDeleteContext will do this for you, but there is no harm in been safe.

Also, like you mention, you should double check that each instance of your control has its own GL context, and that this context is not been freed by another instance.

If none of that helps, take look at the return value of GetLastError and see if this gives you a hint as to what's going awry.
GeneralRe: OpenGL and VS.NET Pin
Michael A. Barnhart3-Feb-03 15:10
Michael A. Barnhart3-Feb-03 15:10 
GeneralDirectDraw Surface with Back Buffer Pin
Compuholic2-Feb-03 9:17
Compuholic2-Feb-03 9:17 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Paul M Watt2-Feb-03 9:52
mentorPaul M Watt2-Feb-03 9:52 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Compuholic2-Feb-03 10:30
Compuholic2-Feb-03 10:30 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Paul M Watt2-Feb-03 12:36
mentorPaul M Watt2-Feb-03 12:36 
GeneralAuto sorting list control Pin
autekre2-Feb-03 8:41
autekre2-Feb-03 8:41 
Generalbrain-teaser (?) 'cloaked' pointers Pin
Anonymous2-Feb-03 6:59
Anonymous2-Feb-03 6:59 
GeneralRe: brain-teaser (?) 'cloaked' pointers Pin
Joaquín M López Muñoz2-Feb-03 7:09
Joaquín M López Muñoz2-Feb-03 7:09 
GeneralRe: brain-teaser (?) 'cloaked' pointers Pin
Joel Lucsy3-Feb-03 2:43
Joel Lucsy3-Feb-03 2:43 
QuestionComboBox and mousebutton? Pin
Stefan Dahlin2-Feb-03 4:52
Stefan Dahlin2-Feb-03 4:52 
AnswerRe: ComboBox and mousebutton? Pin
Michael Dunn2-Feb-03 6:11
sitebuilderMichael Dunn2-Feb-03 6:11 
GeneralRe: ComboBox and mousebutton? Pin
Stefan Dahlin2-Feb-03 6:20
Stefan Dahlin2-Feb-03 6:20 
AnswerRe: ComboBox and mousebutton? Pin
Gary R. Wheeler2-Feb-03 6:22
Gary R. Wheeler2-Feb-03 6:22 
Generalsplit Wnd Pin
smallcoder2-Feb-03 4:18
smallcoder2-Feb-03 4:18 
QuestionPreSubClassWindow() has no valid font on recreate? Pin
Moak2-Feb-03 2:05
Moak2-Feb-03 2:05 
AnswerRe: PreSubClassWindow() has no valid font on recreate? Pin
Moak3-Feb-03 0:48
Moak3-Feb-03 0:48 
QuestionHow can I load file.x from Listbox? Pin
poomred2-Feb-03 1:43
poomred2-Feb-03 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.