Thread: cool growth simulation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    465
    im not going to argue the point, except to say that programs should have an obvious way to exit when they are run in full screen.
    I came up with a cool phrase to put down here, but i forgot it...

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    alt-f4 is the same as hitting the x, as it quits from the message loop and handles all of the cleanup code at the end. I'm sorry if it's really that big of a deal that i forgot to make it so you could quit with the escape key, lol. It's just one line of code....i'll put it in there right now

    -edit-
    sorry, two lines of code
    Code:
       if(wParam==VK_ESCAPE)
    	done=true;
    happy day

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cheap way to cool down an external harddrive
    By cyberfish in forum Tech Board
    Replies: 13
    Last Post: 06-19-2009, 06:10 PM
  2. fork, execv, spawn, or something else?
    By DavidP in forum C++ Programming
    Replies: 8
    Last Post: 01-26-2009, 04:25 PM
  3. Role of c++ in simulation software
    By CChakra in forum C++ Programming
    Replies: 9
    Last Post: 11-18-2008, 02:36 AM
  4. Help with time simulation assignment
    By rakan in forum C++ Programming
    Replies: 3
    Last Post: 10-31-2006, 11:39 AM
  5. Trying to be cool
    By Theologian in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 08-19-2001, 06:17 AM