• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

System Date

I want to display system date in Edit Box,but date should be modifiable.What should I do to make Edit Box which will accept just dates and not any other thing?
1 Solution
There are two things that come to mind:

1. Use a date/time control which I find pretty handy and apropriate. It's called CDateTimeCtrl, you can get it with VC++6 or from the platform sdk.
2. Look at your help on Dialog Data Validation. You could write your own validation function.
You can also use the "MS masked edit control" ActiveX control.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now