Thread: how to clean screen?

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    21

    how to clean screen?

    how to clean screen in dos-programs?

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Well, I recommend using a slightly damp cloth, and starting at the top of the screen going across.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Why is it when I saw that you had responded to this thread you would say something like that XSquared?

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    I've actually added functionality to an application for cleaning the screen.....

    It ran on a touch-screen device

    gg

  6. #6
    Advanced Novice linucksrox's Avatar
    Join Date
    Apr 2004
    Location
    Michigan
    Posts
    198
    really? Could you post the source code?

  7. #7
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Not all of it, smarty-pants...
    Code:
    // Grab all of the "Mouse" events (the person cleaning the screen)
    MSG amsg;
    while (PeekMessage(&amsg, hWndSub, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE) != 0);
    gg

  8. #8
    ---
    Join Date
    May 2004
    Posts
    1,379
    i started writing it....

    Code:
    #include "windex.h"
    #include <stdio.h>
    
    int main()
    {
        FILE *cloth;
        cloth = fopen("d:\\laundry\\cupboard\\cloth.fabric","r+");
        if (cloth == NULL)
            printf("Buy a new cloth");
        return 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Render text
    By Livijn in forum C++ Programming
    Replies: 6
    Last Post: 07-06-2007, 03:32 PM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 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. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM