Thread: Windows question (NOT MS)

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    10

    Talking Windows question (NOT MS)

    Hello everyone;

    I am new to OpenGL and I just wanted to ask a couple of questions about manipulating windows.

    Firstly; if I create two windows and move the current one around then the current one will create a "skid mark" of itself. How can I move the window(s) around cleanly?

    Secondly; I want my program to be in full screen mode when it starts up. How can I do that?
    "If at first you do succeed try not to look astonished!" -- anon

  2. #2
    Sayeh
    Guest
    background updates---

    When you move any shape around, the normal way things are updated behind the moving object is by copying the pixmap of the background before moving the window that is in front.

    Then while the window moves around, the background pixmap is redrawn whereever the window last was.

    Of course there is clipping, so things are faster (only redrawing what is necessary).

    fullscreen mode--

    read the FAQ

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Ask doubleanti about the dirty rectangles code. That method would help a lot in this case. Using it you would only update the portion of the screen that needed it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Windows Question
    By samGwilliam in forum Windows Programming
    Replies: 2
    Last Post: 09-16-2008, 01:50 PM
  2. I need C++ Compiler for MS Windows Vista
    By eHobayyeb in forum C++ Programming
    Replies: 7
    Last Post: 03-27-2007, 07:40 AM
  3. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  4. Replies: 5
    Last Post: 08-16-2006, 02:05 PM
  5. ms windows 1
    By iain in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 08-17-2001, 11:48 AM