assassin316
New member
- Joined
- May 27, 2005
- Messages
- 4
- Programming Experience
- 1-3
I'm currently writing an application for some very picky clients in VB.NET 2005. In order to fulfill one of the requirements, I need to be able to have specific control over the DateTimePicker control. Here is the issue:
When using the arrow keys or mouse inside the DateTimePicker , you'll notice that specific fields (such as day, month, year, etc.) get highlighted in order modify the value. Now sadly, there is no way of findout out what is highlighted. The textbox control has very nice properties called SelectedText, SelectionLength, and SelectionStart which provide the ability to manipulate the highlight of the text, but the DateTimePicker has no such properties. Is there ANY possible way to handle these highlights for the DateTimePicker (maybe through Win32) ???
Any help would be greatly appreciated !!! Thank you !!
When using the arrow keys or mouse inside the DateTimePicker , you'll notice that specific fields (such as day, month, year, etc.) get highlighted in order modify the value. Now sadly, there is no way of findout out what is highlighted. The textbox control has very nice properties called SelectedText, SelectionLength, and SelectionStart which provide the ability to manipulate the highlight of the text, but the DateTimePicker has no such properties. Is there ANY possible way to handle these highlights for the DateTimePicker (maybe through Win32) ???
Any help would be greatly appreciated !!! Thank you !!