Urgent: Shortcutbar and Old-style CXTMonthCalCtrl  
       
      Printed From: Codejock Forums
        Category:  Codejock Products
       Forum Name:  Shortcut Bar
       Forum Description:  Topics Related to Codejock Shortcut Bar
       URL: http://forum.codejock.com/forum_posts.asp?TID=15168
       Printed Date: 04 November 2025 at 10:59am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
      
 
  
      Topic: Urgent: Shortcutbar and Old-style CXTMonthCalCtrl
       
      Posted By: BobWansink
       Subject: Urgent: Shortcutbar and Old-style CXTMonthCalCtrl
       Date Posted: 14 September 2009 at 9:40am
       
      
        
          
	
Hi,
  When i add a CXTMonthCalCtrl to one of the panels of my Shortcutbar, it displays in the old windows style: Blue header, red-circle around the current day, etc. 
  I'd like to see the new style, like the one you have added to the shortcutbar example. 
  After stripping all the SetStyle(), SetTheme() functions for your app, you still have the new calendar style. 
  How can I make the Monthcalendar look like the new style calendar? Do I need to use the skin framework? Do i have to call some form of SetTheme()? Or should I use the PaintManager somehow?
  Thanks in Advance,
  Bob
  
  -------------      Product: Xtreme ToolkitPro (MFC) version 13.0.0
      Platform: Windows (32bit) - XP - Vista
      Language: Visual C++ 
          | 
         
        
      
 
  Replies: 
       
      Posted By: BobWansink
       
      Date Posted: 30 June 2010 at 5:24am
       
      
        
          
	
hi all,
  this question has recently become more important to us. I've found a way to change some of the colors using SetColor(), but i still can't change the style of the monthcalctrl to suit the one in the Shortcutbar example, even after filtering out all of the styling in the example.
  I would really appreciate a reply! 
  -------------      Product: Xtreme ToolkitPro (MFC) version 13.0.0
      Platform: Windows (32bit) - XP - Vista
      Language: Visual C++ 
          | 
         
        
        
       
      
     |