Thread: system tray icons

  1. #1
    Registered User canine's Avatar
    Join Date
    Sep 2001
    Posts
    125

    Smile system tray icons

    can anyone give me a link to a tutorial of how to add a system tray icon and recieve messages for it and how to give it a menu?
    In a perfect world every dog would have a home and every home would have a dog.
    Visit My Web Site, Canine Programming
    I use Win32 API

  2. #2
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    No tutorial links, but I can give you a method. Use Shell_NotifyIcon() to create the icon, and a combination of LoadMenu() and TrackMenuPopupEx() to display a menu when you intercept the message in the window proc.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

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 help
    By ZerOrDie in forum Windows Programming
    Replies: 5
    Last Post: 03-10-2003, 05:05 PM