Thread: Clearing the screen

  1. #1
    Join Date
    Sep 2001

    Talking Clearing the screen

    Yes, how come I am getting a grey / white rectangular box which is the mouse cursor when I clear the screen rapidly in succession?

    Is there a way to remove it?
    I haven't done anything hackish to the screen clearing code, it just momentarily displays a block, which is the mouse cursor.

    I am using the Windows screen clearing method mentioned in the FAQ on Win98SE with GCC.

    : always wondered this...sorry :
    The world is waiting. I must leave you now.

  2. #2
    Registered User Azuth's Avatar
    Join Date
    Feb 2002
    Sounds very wierd, isn't there a function to hide the cursor? Perhaps you could hide the cursor in the part of your program that has to rapidly clear the screen... is that an option for you in this program?

    I know it's not really a fix, but it might be a work around
    Demonographic rhinology is not the only possible outcome, but why take the chance

  3. #3
    Join Date
    Sep 2001
    Ok, after some debugging, I don't think it's the rapid screen clearing. I was making some system calls and I believe that is where I was getting it from. While debugging my program ( file copying / install ) I removed all of the fily copying, so the program was stripped down to it's simple interace. The program still clears the screen rapidly for some things...and now it doesn't do it. I need to look into converting my system calls into straight C code.

    Thanks for your suggestions Azuth, but I might've pin-pointed it. If not, i'll look into mouse stuff.

    The plain interface is attached if you care to look at it.
    ( breaks the forum code: it's only an executable though as the code is too embarrising to post right now ).
    The world is waiting. I must leave you now.

  4. #4
    Code Warrior
    Join Date
    Nov 2001
    Shadow, did you create this animation for writing text on the screen with the sleep function?
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  5. #5
    Join Date
    Sep 2001
    Yes, as a matter of fact, I posted about 13 example sources a few minutes ago in anohter thread.
    Alot of the stuff in the program you just check out is in my other attachment.

    Yes, I used Sleep, found in windows.h.
    The world is waiting. I must leave you now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  2. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  3. clearing the screen
    By ssharish in forum C Programming
    Replies: 2
    Last Post: 02-01-2005, 09:00 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. clearing the screen
    By kas2002 in forum Game Programming
    Replies: 3
    Last Post: 07-02-2002, 07:21 PM