Thread: System Tray - minimizing

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    23

    Question System Tray - minimizing

    For my program, when it minimizes I want the dialog to close giving the illusion that it minimized to the system tray. but I don't how. it's probably a WM_SOMETHING if someone could just post a link to a page or a explanation.

    thanks
    cal

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    Code:
    case WM_SIZE:
    {
      if ( wParam & SIZE_MINIMIZED )
      {
        // window has been minimized
      }
    
      return 0;
    }

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    23

    Thanks

    Thanks Worked Great.

    cal.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with a C Programing Quiz project
    By dilemma in forum C Programming
    Replies: 12
    Last Post: 05-15-2009, 03:35 PM
  2. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  3. Why Can't C++ Be Used to Develop Operating System?
    By Antigloss in forum C++ Programming
    Replies: 7
    Last Post: 05-27-2005, 06:16 AM
  4. System Tray = Notification Area
    By JasonD in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-12-2003, 12:55 PM