Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Date-combo in ribbon, still a problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Date-combo in ribbon, still a problem

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

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Date-combo in ribbon, still a problem
    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), 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/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2009 at 6:36am
Hi,
You can use CXTPControlCustom and attach any window handle.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
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.