HeaderPane
Main
New productDLL · C · C++

SftDate/DLL 2.0

Date and calendar controls

Date and calendar controls for C, C++ and MFC: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar, time list or clock face, and SftCalendar, a calendar showing one or more months in month, year, decade and century views. Both follow any culture and its calendar system, show special dates with colors, pictures and tooltips, allow empty values and validate input, and together they cover all functions of the Windows Date and Time Picker and Month Calendar controls, with dark mode, high contrast, per-monitor DPI and screen reader support built in. Royalty-free for C and C++ developers.

  • Windows 10 and above
  • 32-bit, 64-bit and ARM64
  • Royalty-free
  • 1 year of support included

Date fields and calendars for C, C++ and MFC, in any culture.

Two DLL-based controls: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar and time selection, and SftCalendar, a calendar showing one or more months. Both follow the culture and calendar system of your choice, at home on modern Windows.

Together they cover all functions of the Windows Date and Time Picker and Month Calendar controls and add what those lack: empty fields with a placeholder and a Clear button, date ranges, a time list or clock face, free-form typing, validation notifications, special dates with colors, pictures and tooltips, and dark mode.

Coming from the Date and Time Picker and Month Calendar controls? See where each of their functions is found in SftDate/DLL.

Dates and times Date ranges Dropdown calendar Multiple months Special dates Any culture Empty values Dark mode

[/]

Date, time and range fields

One field for a date, a time, a date and time or a range of dates, in the culture's short and long formats or a custom format.

  • Edit one part at a time with keyboard, mouse wheel or up/down buttons
  • Free-form typing, parsed in the culture
  • Empty fields with a placeholder, a check box and a Clear button

[v]

The dropdown

A calendar, a time list or a clock face, or a calendar and a time selection together, opened with the button, F4 or Alt+Down.

  • Full keyboard interface inside the dropdown
  • Never takes the input focus from the field
  • Optionally opens when the field receives the focus

31

A calendar of any size

SftCalendar shows one or more months, side by side and one below the other, in month, year, decade and century views.

  • Single dates or ranges of any length
  • Week numbers according to ISO 8601 or the culture
  • Today and Clear buttons

(*)

Special dates

Holidays and appointments in bold, in their own colors, with pictures and tooltips, once or repeating every week, month or year.

  • A day formatting notification for every day shown
  • Disabled days and days of the week
  • Earliest and latest dates

Aa

Any culture and calendar

Any culture and its calendar system, including the Japanese, Taiwan, Korean, Thai Buddhist, Hijri, Um Al Qura, Hebrew and Persian calendars, in years 1 to 9999.

  • Independent of the system settings
  • Right-to-left layouts
  • A complete, documented keyboard interface

OK

Validation and parsing

Values are checked against the earliest and latest dates, then offered to a validation notification that can refuse or change them.

  • A text parsing notification for input such as "+7" for a week from today
  • Value and range change notifications
  • Hit testing for every part of both controls

Screenshots

Try it in the demo.

The demo sample shows every kind of field and a two-month calendar, with options for the culture, dark mode, high contrast, week numbers, special dates and ranges.

A modern Windows citizen

Built for how Windows looks and works today.

Version 2.0 follows the system's choices, so your date fields and calendars do too.

Dark mode

Tracks the "Choose your mode" setting automatically, or follows your application's own Light/Dark setting, dropdown included.

High Contrast

Supports Windows High Contrast themes for accessibility.

Per-Monitor DPI

Scales images and pixel dimensions so controls stay crisp on every display.

Screen readers

A built-in UI Automation provider works with Narrator, NVDA and JAWS out of the box.

Requirements and distribution

Languages

  • C and C++ (MFC) with Visual Studio
  • Any language through the supplied header file
  • MFC classes with source code included

Platforms

  • Windows 10 and above
  • 32-bit and 64-bit applications on Intel
  • ARM64 applications on Windows 11 and above
  • UNICODE on every platform

In the box

  • Samples for C and C++/MFC
  • Static libraries for 32-bit and 64-bit Intel applications
  • API reference for AI assistants

Distribution

  • Royalty-free in run-time mode
  • Ship the DLL with your application
  • Each developer licenses their own copy

Find a License that Fits Your Needs

Licenses

Find a license that fits

Every license includes a full year of support subscription: free product support, new major and minor releases, hotfixes and updates.

Read the license agreement
Single Developer License
$299one developer

For one developer, on any number of their own computers.

25 DevelopersSave 36%
$4,800one license number

One license number covering 25 developers on your team.

Prices in US dollars. 30-day money-back guarantee. Need the source code? Ask sales about an Enterprise License.

Save with the bundle

DLL Control Bundle · from $ 749.00

SftBox/DLL 6.0, SftButton/DLL 3.0, SftDate/DLL 2.0, SftMask/DLL 7.0, SftTabs/DLL 7.0 and SftTree/DLL 8.0 in one hugely discounted bundle.

View the bundle