Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Urgent!!!!!

  1. #1
    Intern Contributor
    Join Date
    Jul 2002
    Location
    Seri Kembangan, Selangor, Malaysia
    Posts
    92

    Urgent!!!!!

    I had created a Interface(main)with a viewport in MFC,which viewport will run the opengl source code to render ... Then i created one more dialog box to render as a (child) window to render other scene.

    The problem is when i closed the child window.The contents of the child window still map on the main window.

    Even i had used swapbuffers and double buffering .The over map just look like when we use single buffer to ....

    can anybody tell me what happen to my program?

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    596

    Re: Urgent!!!!!

    Do you repaint the maniwindow when it gets the repaint message? the doublebuffering dont help you with that.

  3. #3
    Intern Contributor
    Join Date
    Jul 2002
    Location
    Seri Kembangan, Selangor, Malaysia
    Posts
    92

    Re: Urgent!!!!!

    Thank u ..i had solved the problem already..
    I forgot repaint...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •