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. Calendar control

Calendar control

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestiondesigntutorial
2 Posts 2 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.
  • R Offline
    R Offline
    ROK_RShadow
    wrote on last edited by
    #1

    I recently just started to design a tool to help me at work, it works kind of like a Hotel Reservation system. Before we used a program called "Calendar Creator" to manage all the reservations for a given day; however there are a lot of other ways we need to view the data as well. For example sometimes we need to submit reports on how many people are staying in certain buildings and percentages. So I decided to write a tool to manage all this. Everything is going good so far, but one problem.. I need this tool to be able to write all the added entries to a calendar. So I figured I would create a "Calendar View" that would display a calendar with all the added entries. However I soon found that there are no standard or popular calendar controls. So far ever Calendar controls I have seen are really just date pickers. So I figured I would write one myself, however I'm bad at math.. so the question. 1. Do I have to write one myself? (I don't want to re-invent the wheel) 2. If I do have to write it myself, how would I be able to tell that say Feb 10 2003 would be on a Monday? Any help would be appreciated. Thank you.

    B 1 Reply Last reply
    0
    • R ROK_RShadow

      I recently just started to design a tool to help me at work, it works kind of like a Hotel Reservation system. Before we used a program called "Calendar Creator" to manage all the reservations for a given day; however there are a lot of other ways we need to view the data as well. For example sometimes we need to submit reports on how many people are staying in certain buildings and percentages. So I decided to write a tool to manage all this. Everything is going good so far, but one problem.. I need this tool to be able to write all the added entries to a calendar. So I figured I would create a "Calendar View" that would display a calendar with all the added entries. However I soon found that there are no standard or popular calendar controls. So far ever Calendar controls I have seen are really just date pickers. So I figured I would write one myself, however I'm bad at math.. so the question. 1. Do I have to write one myself? (I don't want to re-invent the wheel) 2. If I do have to write it myself, how would I be able to tell that say Feb 10 2003 would be on a Monday? Any help would be appreciated. Thank you.

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #2

      ROK_RShadow wrote: 1. Do I have to write one myself? (I don't want to re-invent the wheel) I've worked with the Microsoft calendar controls and they seem to be full of lots of frustrating bugs, so I'd say you're probably better of working from scratch ROK_RShadow wrote: 2. If I do have to write it myself, how would I be able to tell that say Feb 10 2003 would be on a Monday? The Doomsday Algorithm[^] http://www.codeproject.com/datetime/DoomsdayDate.asp[^] -- Help me! I'm turning into a grapefruit!

      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