Print Page | Close Window

Date-combo in ribbon, still a problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13969
Printed Date: 28 February 2025 at 2:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Date-combo in ribbon, still a problem
Posted By: znakeeye
Subject: Date-combo in ribbon, still a problem
Date Posted: 10 April 2009 at 4:33am
CustomThemes sample has a cool commandbar datetime-control. As mentioned before ( http://forum.codejock.com/forum_posts.asp?TID=13534&KW=date - http://forum.codejock.com/forum_posts.asp?TID=13534&KW=date ), it would be nice to have this in a ribbon.
 
However, this control is not derived from CXTPControl and cannot be used in a ribbon. What changes do I need to get it working?
 
Thank you!


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: Oleg
Date Posted: 10 April 2009 at 6:36am
Hi,
You can use CXTPControlCustom and attach any window handle.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 10 April 2009 at 1:27pm

Yes, that's a start :)

But... is it possible to set a title to such a control? If you look at e.g. CXTPControlEdit the caption is set to the left of the control (RibbonControls sample demonstrates this).
CXTPControlCustom doesn't paint the title!
 
Any ideas?


-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net