Print Page | Close Window

CXTPControlDateTimePick missing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8553
Printed Date: 14 November 2025 at 8:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlDateTimePick missing
Posted By: Tomasz
Subject: CXTPControlDateTimePick missing
Date 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



Replies:
Posted By: Tomasz
Date Posted: 23 November 2007 at 7:37pm

Does anyone from Codejock care to answer?



Posted By: Oleg
Date 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


Posted By: Tomasz
Date 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.


Posted By: Tomasz
Date Posted: 21 December 2007 at 12:54pm
Knock Knock??? Anybody from Codejock care to answer?


Posted By: Oleg
Date Posted: 22 December 2007 at 4:32am
As I answered - there is no Picker derived from CXTPControl

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



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