RED SOFT ADAIR
RED SOFT ADAIR

Reputation: 12218

How can I add Windows DateTimePicker to a win32 Application in c++

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

Answers (3)

StackedCrooked
StackedCrooked

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

nos
nos

Reputation: 229088

Start Here

Upvotes: 3

Nick Dandoulakis
Nick Dandoulakis

Reputation: 43110

You can use CreateWindow and "SysDateTimePick32" as the class name.

Upvotes: 2

Related Questions