Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPControlDateTimePick missing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlDateTimePick missing

 Post Reply Post Reply
Author
Message
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlDateTimePick missing
    Posted: 27 October 2007 at 8:50pm
The problem:
I would like to have date/time picker in the command bar.
 
Now CXTPControlDateTimePicker does NOT exist in XTP.
 
I am aware of all workarounds to this missing piece of functionality but
those workarounds do not work well.
 
There is a CXTPDatePickerControl BUT... it is derived from CWnd, not from CXTPControl therefore it does not work with command bar customization well (for example it can not be resized during customization mode and pops up calendar while in customization). 
 
The same problem applies to regular CDateTimeCtrl placed on command bar using CXTPControlCustom or CXTMonthCal. They are all derived from CWnd and do not work well with command bar customization.
And they do not match visual theme selected.
 
What I need is CXTPControlDateTimePicker that is derived from CXTPControl (not from CWnd).
 
Codejock - is there any way to have date time picker as CXTPControl and
have it working correctly with customization/skinning/themes?
 
The closest workaround would be using CXTPControlComboBox and modifying it to display month calendar on dropdown event. Do you by chance have any sample code for such thing? I searched the forum but did not find.
 
Regards,
Tomasz
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2007 at 7:37pm

Does anyone from Codejock care to answer?

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 26 November 2007 at 12:55am
Yes, there is no Picker derived from CXTPControl. Samples\CommandBars\CommonControls sample shows how to use CXTPControlCustom + CDateTimeCtrl
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2007 at 4:31am
With all respect due, did you read my post at all? I specifically wrote that using CXTPControlCustom is NOT an option because of problems described in the original e-mail.
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2007 at 12:54pm
Knock Knock??? Anybody from Codejock care to answer?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 22 December 2007 at 4:32am
As I answered - there is no Picker derived from CXTPControl
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.063 seconds.