Thread: I'm stupid, my winapp still running in background

  1. #1
    Shadow12345
    Guest

    I'm stupid, my winapp still running in background

    No matter what I do my application is still running in the back ground, have I forgot to add something in my code?

    I'm dumb so go easy on me.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Are you actually expecting an answer on this?

    Where's the code?

  3. #3
    Shadow12345
    Guest
    well, yes, because I am writing this stuff from off the top of my head and there are certain things every windows api template/skeleton (whatever u call it) should have. Anyway the problem WAS as I described...I forgot to include PostQuitMessage in a WM_CLOSE case, that seems to've fixed it altogether (no crashing, no window running in background).

    EDIT: as I may or may not have hinted at, I'm dumb
    Last edited by Shadow12345; 01-14-2003 at 04:31 PM.

  4. #4
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    be sure to put in WM_DESTROY as well

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Running my program in the background
    By shoobsie in forum Windows Programming
    Replies: 4
    Last Post: 10-09-2005, 02:38 AM
  2. How to load background pic/texture in OpenGl?
    By salman86 in forum Windows Programming
    Replies: 3
    Last Post: 08-07-2005, 06:37 PM
  3. Load Bitmap as Window Background
    By Epo in forum Windows Programming
    Replies: 6
    Last Post: 07-19-2005, 09:37 AM
  4. Running hidden executables in background
    By Fender Bender in forum Windows Programming
    Replies: 15
    Last Post: 04-17-2005, 10:59 AM
  5. Windows background color
    By Exile in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2005, 07:55 AM