Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Rado Manzela
|
Apr 14, 2007 - 10:20 AM
|
Is it possible to set up some date range for CExtGridCellDateTime ? (It would be nice if user would not be able to scroll any way prior some date) Thank you.
|
|
Technical Support
|
Apr 16, 2007 - 10:46 AM
|
This feature is in our to-do list so we are going to implement it soon.
|
|
Suhai Gyorgy
|
Apr 15, 2007 - 7:43 AM
|
Check out CPageDateTimeDuration class of ProfUIS_Controls sample. In it, OnSelChangedDateTime method is set to handle CExtDateTimeWnd::g_nMsgChangingNotification message. In the message handler, you can test the pCN->m_dtDateTimeNew date time value, and if it is a date that you don’t want to allow, just return -1L, that will keep the previous date in the control.
|
|