I have adapted a project from CodeGuru regarding creating a window with OpenGL rendering picture control in the window in http://www.codeguru.com/cpp/g-m/open...le.php/c10975/. I have imported EASYSIZE macros from CodeProject (http://www.codeproject.com/KB/dialog/easysize.aspx) to ensure that resizing the window would not result in the buttons disappearing. However, while I have managed to move the buttons properly, I have trouble resizing the OpenGL window properly. I know I would have to do something properly to reset the OpenGL picture control properly again in the OnSize message handler functions, but having trouble doing so properly. If you need to have a source code of what I've done so far, it's attached to this post. Please change the extension from txt to zip. Thanks.