Thread: taskbar application

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    170

    taskbar application

    I usually write MFC applications.

    I have found myself needing to write a small application that will just run on the taskbar.

    I assume that this means writing straigt SDK code for this. Can someone point me to a sample of this type of app?

    --Bonkey

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    if by taskbar you really mean systray then look up the shell function Shell_NotifyIcon() at msdn or in your helpfiles.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    yep that is what I meant. I'll check it out. Thanks.

    --Bonkey
    Best Regards,

    Bonkey

  4. #4
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    I have been able to put the icon on the system tray succesfully.

    I ended up going with MFC and used a dialog. Is there a way to stop the dialog from appearing? I just want the systray icon as the only application interface.

    I have tried commenting out the CDialog:OnInitDialog() but that didnt do anything.
    Best Regards,

    Bonkey

  5. #5
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    I found it. I just had to go look in another file and comment out the DoModal.
    Best Regards,

    Bonkey

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cleanup of the application...
    By Petike in forum Windows Programming
    Replies: 1
    Last Post: 08-16-2008, 05:23 PM
  2. Problem with com application
    By amardon in forum C++ Programming
    Replies: 3
    Last Post: 10-06-2005, 05:50 AM
  3. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  4. Win application not very portable
    By swed in forum Windows Programming
    Replies: 5
    Last Post: 10-01-2001, 11:17 AM