Results 1 to 3 of 3

Thread: How to draw in a window that is dragged

  1. #1
    Member Newbie
    Join Date
    Oct 2003
    Posts
    30

    How to draw in a window that is dragged

    Hello !

    I have a problem: I am writing a windows opengl application in a window and the application freezes when the window is being dragged on the screen. The problem is that when I do that my message loop freezes (I don't get any messages).
    Do you know what can I do do remedy that ?

  2. #2
    Member Contributor
    Join Date
    Jul 2002
    Location
    Seri Kembangan, Selangor, Malaysia
    Posts
    92

    Re: How to draw in a window that is dragged

    Hi,

    Have u repaint the window in timer function?

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: How to draw in a window that is dragged

    Hi !

    Which os are you using (95/98/Me/W2k/XP) ?

    Does other applications work when you drag them around ? this feature can be enabled/disabled so if you turn it of you will not get any repaints while dragging.

    Mikael

Similar Threads

  1. Window not updating unless dragged (GLUT/C++)
    By toads_tf in forum OpenGL: Windows
    Replies: 3
    Last Post: 10-10-2016, 07:13 AM
  2. how to draw 3d window
    By matsurambo in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 12-03-2007, 01:28 AM
  3. how to draw 3d window?
    By matsurambo in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 11-28-2007, 07:59 AM
  4. Window will not re-draw!
    By A5H in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-01-2004, 02:33 PM
  5. draw while resizing window
    By zeraiam in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 02-17-2002, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean