   Windows Programming issue
  When im running my program and i close it out, it closes... but a) does not end the debugging and b) still shows up in task manager. What am I doing wrong? Thanks in advance!   
  What you're doing is just closing the window, which doesn't end the program. In your WindProc function (or whatever it is you're calling it), when you get the WM_CLOSE message, you generally just call PostQuitMessage(0) and return 0. Assuming you're running a game loop, and you're peeking for the WM_QUIT message already, it should fix your problems.   ;  nevermind! thanks a lot Gorax :D re-read your response and it did work. i wasnt returning 0. thanks mucho man![Edited by - Khaibit366 on May 14, 2010 7:22:50 PM]