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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Desktop Calender Repost

Desktop Calender Repost

Scheduled Pinned Locked Moved C#
help
7 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.
  • W Offline
    W Offline
    WinSolution
    wrote on last edited by
    #1

    I want to display a calender on desktop [right side] if any one can help me helping link Please keep following points in mind - application will be running in background. [at startup] - icon will be in Tray no tab in Task bar. when double clicked then in Task Bar. Thanks

    0 A 2 Replies Last reply
    0
    • W WinSolution

      I want to display a calender on desktop [right side] if any one can help me helping link Please keep following points in mind - application will be running in background. [at startup] - icon will be in Tray no tab in Task bar. when double clicked then in Task Bar. Thanks

      0 Offline
      0 Offline
      0x3c0
      wrote on last edited by
      #2

      To make your application run when Windows starts, put it into the Startup folder. I think there are registry keys you can add it to. To make the tray icon, use the NotifyIcon component, and simply show the form with the calendar upon the double click of the aforementioned component. You can actually find a calendar-like component in the .Net Framework - I think it's something like DateTimePicker. Inherit from that, link it to a collection of dates, and you have your calendar. To make the form display on the right hand side of the desktop, set the Dock property of the form to Right

      W 1 Reply Last reply
      0
      • 0 0x3c0

        To make your application run when Windows starts, put it into the Startup folder. I think there are registry keys you can add it to. To make the tray icon, use the NotifyIcon component, and simply show the form with the calendar upon the double click of the aforementioned component. You can actually find a calendar-like component in the .Net Framework - I think it's something like DateTimePicker. Inherit from that, link it to a collection of dates, and you have your calendar. To make the form display on the right hand side of the desktop, set the Dock property of the form to Right

        W Offline
        W Offline
        WinSolution
        wrote on last edited by
        #3

        Thanks For Giving Idea But i am talking to put calender on desktop not on the form's right. On desktop where icons will be on left side and my calender on right side hope u understand what i want.

        0 1 Reply Last reply
        0
        • W WinSolution

          Thanks For Giving Idea But i am talking to put calender on desktop not on the form's right. On desktop where icons will be on left side and my calender on right side hope u understand what i want.

          0 Offline
          0 Offline
          0x3c0
          wrote on last edited by
          #4

          I see. You could theoretically put some code in the Resize event handler to adjust the size and location of the form. Use these equations: Form.X = Screen.Width - Form.Width Form.Y = 0 Form.Height = Screen.Height Form.Width can be anything you want it to be. This will look best if you set the BorderStyle to None

          W 1 Reply Last reply
          0
          • 0 0x3c0

            I see. You could theoretically put some code in the Resize event handler to adjust the size and location of the form. Use these equations: Form.X = Screen.Width - Form.Width Form.Y = 0 Form.Height = Screen.Height Form.Width can be anything you want it to be. This will look best if you set the BorderStyle to None

            W Offline
            W Offline
            WinSolution
            wrote on last edited by
            #5

            Nice Idea to calculate the Location on desktop. But i want to bound the calender application object added to Windows Desktop Object in such a way that it behave like icons on desktop. so that when all applications in Taskbar are minimized my application still will be visible on desktop Basic thing i want is access to desktop and put my calender object into that.

            0 1 Reply Last reply
            0
            • W WinSolution

              Nice Idea to calculate the Location on desktop. But i want to bound the calender application object added to Windows Desktop Object in such a way that it behave like icons on desktop. so that when all applications in Taskbar are minimized my application still will be visible on desktop Basic thing i want is access to desktop and put my calender object into that.

              0 Offline
              0 Offline
              0x3c0
              wrote on last edited by
              #6

              Then what you may want is to create a gadget for the Sidebar. This will limit your options to Vista. Alternatively, you could look into shell integration (perhaps a knowledge of COM would help you here) or the ShowInTaskbar property of a form

              1 Reply Last reply
              0
              • W WinSolution

                I want to display a calender on desktop [right side] if any one can help me helping link Please keep following points in mind - application will be running in background. [at startup] - icon will be in Tray no tab in Task bar. when double clicked then in Task Bar. Thanks

                A Offline
                A Offline
                AKNR Chandra Sekhar
                wrote on last edited by
                #7

                Hello, You may be looking for docking your application with Desktop. You can look at the following article.. http://www.codeproject.com/KB/shell/csdoesshell3.aspx[^] Rgds, AKNR

                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