Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Multicolumn and Timeline
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multicolumn and Timeline

 Post Reply Post Reply
Author
Message
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Topic: Multicolumn and Timeline
    Posted: 18 June 2009 at 2:58am
Both "Multicolumn mode" and Timeline mode" are hard-coded into sources and force to patch .cpp
 
Same problem with
 
REPLACE_S(s, _T("Show w"), _T("W"));
 
and all related short forms.
VS2022 - MFC MBCS Statically linked

XTP 23.1 Static Link

---------------------------------------------------------

Davide Zaccanti - ZakSoft - www.zaksoft.com

Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2009 at 11:33am
Wrong - use built-in modifiers (same for VB) with any text you like on any language

GetCalendarCaptionBarCtrl().SetButtonText(0, _T("Day"));

GetCalendarCaptionBarCtrl().SetButtonText(1, _T("Week"));

GetCalendarCaptionBarCtrl().SetButtonText(2, _T("Month"));

GetCalendarCaptionBarCtrl().SetButtonText(3, _T("T-line"));

GetCalendarCaptionBarCtrl().SetButtonText(4, _T("M-col"));

GetCalendarCaptionBarCtrl().SetButtonText(5, _T("F-week"));

GetCalendarCaptionBarCtrl().SetButtonText(6, _T("MC-mode"));

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.