Menu

#263 Change TCalendarEdit to use the standard Month Calendar control

8
pending
OWLExt (3)
1
2025-05-26
2025-05-19
No

The TCalendardEdit control in OWLExt library displays a custom drawn calendar control that looks too small on modern operating systems. Since there is a standard modern Month Calendar control built in Windows, it should be used instead.

Discussion

  • Ognyan Chernokozhev

    • labels: --> OWLExt
    • status: open --> pending
     
  • Ognyan Chernokozhev

    Implemented in [r7860].

    Regression fixed in [r7862].

     
    👍
    1

    Related

    Commit: [r7860]
    Commit: [r7862]


    Last edit: Vidar Hasfjord 2025-05-24
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-05-24

    Much better; but what purpose does TCalendarEdit serve, compared to TDateTimePicker (which encapsulates the native Date and Time Picker control)? The latter does the same and is more flexible regarding the date format, using the user's system setting as the default (see Controls or DDT in Classes example). It also has more features; e.g. supports different display styles.

    Perhaps we should just make TCalendarEdit an alias of TDateTimePicker and/or deprecate it?

     
    • Ognyan Chernokozhev

      You are right, there isn't a use case for this control, as the standard date picker is clearly superior.

      We can just put a comment in the header file that it should not be used and point to TDateTimePicker.

       
      👍
      1

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB