VB6: DTPicker, How to change ForeColor, BackColor and Appearance of it's Combo-Component
Hello experts.
I have a UserControl which consists of a DTPicker(from Microsoft).
The UserControl has properties that are listed in the question title.
All Controls in the usercontrol except the DTPicker expose the needed properties.
Thanks for the link. Unfortunely the provided control doesn't expose the needed properties. Further it isn't supported by Microsoft.
What i need to do in Detail:
1. Set the Appearance of the DTpicker to 2D (with FixedSingle Border) - this isn't supported by the control ccrpdtp6 (raised and sunken are supported)
2. Set the BackColor (not of the calendar)
3. Set the ForeColor (not of the calendar)
The link provided looks like a UserControl which consists of the original DTPicker - wrapped with additional functions without going deeper in DTPicker itself.
Your help has saved me hundreds of hours of internet surfing.
fblack61
VK
ASKER
Is there an API to do that ?
With SendMessage like with ComboBoxes or ListView ?
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
I solved that problem with the NeoCalendarII.ocx from NeoComponents.com. It isn't from Microsoft, but the source code is available and cheap.
Nevertheless i will give you the points. You initiated my search with your link and it succeeded:-)
V.K.
CleanupPing
Hi VK,
This old question (QID 20566301) needs to be finalized -- accept an answer, split points, or get a refund. Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.