Originally posted by: Prem
I'm facing exactly the same problem what Stacy was facing. But fortunately for me I'm not using the date time control to get the death dates of people.
How on earth can we blank the date-time control until the user chooses a date using the month calendar?
-Prem
ReplyOriginally posted by: Nick
I'm using a callback field and I know I need to handle the DTN_FORMAT, DTN_FORMATQUERY and DTN_WM_KEYDOWN notifications. I also know how to modify the value in the callback field in response to the up and down arrow keys as shown in the Microsoft example.
But how do I let the user type in a new value using the number keys? Let's say I want the value to be displayed with leading zeroes. The DTN_FORMAT handler can take care of that. But the DTN_FORMAT notification is also sent while the user is currently typing in a new value, and I don't want to display leading zeroes until he has left the callback field. So I think I need to know if the callback field has the focus or not. Any ideas?
ReplyOriginally posted by: Vingt
Please send, or let me know how to get source and project.
ReplyOriginally posted by: Allen
Please send, or let me know how to get source and project.
Allen
ReplyOriginally posted by: Joseph Berkley
I'm using Visual C++ 6.0 Professional on Windows 98. I am creating a database app with a data source of a Microsoft Access database.
If I try to bind my date/time picker control to the date/time field in my database, the ClassWizard puts a call to DDX_FieldDateTime( pDX, etc... ) in my code. Unfortunately this function doesn't exist. Can someone help me here? I tried to write it myself to no avail.
Please respond via e-mail because this is pretty important to me.
ReplyOriginally posted by: Stacy
I am using a similar control. I have run into a problem though. I am using the date picker control throughout my project, to be consistent, I am also using it to select the death date for a person. How can you blank it out?
ReplyOriginally posted by: R. Wuppinger
Hi Tim,
much thanks for this is very helpful article, but if I want to use it in an CFormView-Class the actual
month appears for a short time after clicking the control and then it disappears again. So you don't have any
chance to modify the date!
If you have an idea please be so kind and let me know!
Thanks a lot
Ralph
Originally posted by: Shahzad
This is a wondeful code, but needs little more documentation.
I was able to use it in my simple dialog based applicatin though without good understanding! but I could not use this in a property page.
Please explain what is IDC_DATE and IDC_TIME?
I desperately need this in my project, please do reply me!
Originally posted by: Srinu
It is very useful in my project.
Thank you.
Originally posted by: sharon
Hello Tim,
Your Date/Time picker was something what I had been looking for.
Could you paste some of your souce code or demo app then I can
run and see it in action.
Thanx in advance,
sharon
Reply