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. the date time picker control

the date time picker control

Scheduled Pinned Locked Moved C / C++ / MFC
5 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.
  • A Offline
    A Offline
    alphaxz
    wrote on last edited by
    #1

    hello all: I have got a trouble in date time picker control when i use the date time picker control to adjust the control time ,if i first select the hour field then i can only change the hour field ,even i set the cursor in the minutes field when i click the spin ,only the hour field changed,does this the control bug,how can i put the cursor in which where i chang which field thanks !

    a beginner

    C A 2 Replies Last reply
    0
    • A alphaxz

      hello all: I have got a trouble in date time picker control when i use the date time picker control to adjust the control time ,if i first select the hour field then i can only change the hour field ,even i set the cursor in the minutes field when i click the spin ,only the hour field changed,does this the control bug,how can i put the cursor in which where i chang which field thanks !

      a beginner

      C Offline
      C Offline
      Chandrasekharan P
      wrote on last edited by
      #2

      It works perfectly for me. i can change the hours, minutes and seconds as well.

      A 1 Reply Last reply
      0
      • C Chandrasekharan P

        It works perfectly for me. i can change the hours, minutes and seconds as well.

        A Offline
        A Offline
        alphaxz
        wrote on last edited by
        #3

        why,can you tell me the reason? i know the reason ,because i choose the enable edit property,when i disabled it worked fine thanks

        a beginner

        modified on Wednesday, April 1, 2009 1:50 AM

        C 1 Reply Last reply
        0
        • A alphaxz

          why,can you tell me the reason? i know the reason ,because i choose the enable edit property,when i disabled it worked fine thanks

          a beginner

          modified on Wednesday, April 1, 2009 1:50 AM

          C Offline
          C Offline
          Chandrasekharan P
          wrote on last edited by
          #4

          I dont see any reason why your minutes will not change if you use the spin control. open a new dialog based application. Add the date picker control. change the format to time from the combo box. and then run the application. It will work the way you wanted.

          1 Reply Last reply
          0
          • A alphaxz

            hello all: I have got a trouble in date time picker control when i use the date time picker control to adjust the control time ,if i first select the hour field then i can only change the hour field ,even i set the cursor in the minutes field when i click the spin ,only the hour field changed,does this the control bug,how can i put the cursor in which where i chang which field thanks !

            a beginner

            A Offline
            A Offline
            aks
            wrote on last edited by
            #5

            Check whether "Allow Edit" Property is enabled? If so disable it.

            aks

            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