Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Scheduler

Scheduler

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    karmendra_js
    wrote on last edited by
    #1

    I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,

    D E 2 Replies Last reply
    0
    • K karmendra_js

      I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      karmendra_js wrote:

      I need to create a scheduler...

      Are you sure? Perhaps you want to create a schedule instead. You need to search for the ITaskScheduler, ITask, and ITaskTrigger interfaces. There are some good examples on MSDN.


      "Take only what you need and leave the land as you found it." - Native American Proverb

      1 Reply Last reply
      0
      • K karmendra_js

        I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #3

        * first learn how to minimize your application to the system tray. * Learn how to set timers for a function. * make a function that compares current time with the scheduled time, if they concide, popup a message. is that you want?:~ All these can be found if you search inside CP itself. He is like a one-legged man in a bum kicking competition. -Novjot Sidhu --[v]--

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups