Multiple Rendering Contexts in single thread?

Hi guys… I’m trying to create a separate window for a control panel, so I’ve created a dialog, used my openGL wrapper class to create a second context based on the dialog’s DC, and not the main window’s, and am trying to switch contexts, render in the dialog window, then switch back & render in the main window. The main window renders fine, but the dialog shows up with a distorted view of the main window… Using double buffering on both, and I am swapping the correct buffers for each… is what I’m trying to do possible? If so, is there sample code somewhere? =)

Thanks, Mike