Reputation: 12218
I have a Win32 application and i want to Add a DateTimePicker Control, like the one in .NET. I though don't want to include the whole Framework in my application, nor MFC or whatever.
How can I add the native control in a Way with the least amount of dependencies?
Upvotes: 2
Views: 2853
Reputation: 35485
See the MSDN documentation for Using Date and Time Picker Controls
EDIT: Ignore my previous reply, there actually is a Win32 class for this.
Upvotes: 1
Reputation: 43110
You can use CreateWindow and "SysDateTimePick32" as the class name.
Upvotes: 2