How to use SetFormat function of class CDateTimeCtrl properly
-
Hi to all, i am using date Timer picker control in my application at the run time it is displaying current system time But i want to display my own time , suppose system time is 05:08:07, but i want to display always 10:12:34 that i am doing by using SetFormat function, this function will set this string, at run time it is displaying 10:12:34, but the problem is this time is static , i want to modify this time by using up & down arrow ,, but i can`t ,, arrow keys & up down click buttons are not working how can i enable arrow keys for changing the time ?
varun
-
Hi to all, i am using date Timer picker control in my application at the run time it is displaying current system time But i want to display my own time , suppose system time is 05:08:07, but i want to display always 10:12:34 that i am doing by using SetFormat function, this function will set this string, at run time it is displaying 10:12:34, but the problem is this time is static , i want to modify this time by using up & down arrow ,, but i can`t ,, arrow keys & up down click buttons are not working how can i enable arrow keys for changing the time ?
varun
-
Hi to all, i am using date Timer picker control in my application at the run time it is displaying current system time But i want to display my own time , suppose system time is 05:08:07, but i want to display always 10:12:34 that i am doing by using SetFormat function, this function will set this string, at run time it is displaying 10:12:34, but the problem is this time is static , i want to modify this time by using up & down arrow ,, but i can`t ,, arrow keys & up down click buttons are not working how can i enable arrow keys for changing the time ?
varun
varun01 wrote:
i want to modify this time by using up & down arrow ,,
On the keyboard? As long as the control has focus, and assuming you've done nothing to change the default behavior, the navigational keys should work.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne