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. How to avoid editing date in Datetime picker ?

How to avoid editing date in Datetime picker ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
1 Posts 1 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.
  • L Offline
    L Offline
    ldaoust
    wrote on last edited by
    #1

    Anybody knows how to avoid the user to edit the date in a datetimepicker control ? I only want the user to be able to open the calendar when he/she clicks on the arrow and pick a date from that month calendar, but not be able to change the date in the edit fields.

    -------------------------------
    [Wednesday, September 22, 2004] <- not allow to change in that portion

    | sun mon tue wed thu fri sat |
    | 1 2 3 4 5 6 7 | <- ok to use the popop calendar
    | 8 9 10 11 12 13 14 |
    | 15 16 17 18 19 20 21 |
    | 22 23 24 25 26 27 28 |
    | 29 30 |

    thanks. Lou * how do you like my datetimepicker control ? :cool:

    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