Thread: resizing OpenGL picture control in MFC window

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    222

    resizing OpenGL picture control in MFC window

    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.

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    222
    Nevermind about this question. Already found a workaround solution.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. Adding buttons, edit boxes, etc to the window
    By rainmanddw in forum Windows Programming
    Replies: 1
    Last Post: 04-10-2006, 03:07 PM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  4. my wndProc is out of scope
    By Raison in forum Windows Programming
    Replies: 35
    Last Post: 06-25-2004, 07:23 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

Tags for this Thread