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 |
|
Paul Cowan
|
Dec 19, 2007 - 9:51 AM
|
How do I hide the None button on the popup CExtDateTimeWnd calendar?
|
|
Technical Support
|
Dec 21, 2007 - 12:17 PM
|
Using the new feature we added to 2.82 (see our reply to Suhai Gyorgy), you will be able to remove the None button in this way pDateTimeWnd->ModifyDropDownCalendarStyle( __EDPWS_BUTTON_NONE, 0 );
|
|
Technical Support
|
Dec 21, 2007 - 12:14 PM
|
Thank you for your suggestion. We have just added the following methods to the CExtDateTimeWnd class:
virtual DWORD OnDropDownCalendarQueryStyle() const;
DWORD GetDropDownCalendarStyles() const;
DWORD ModifyDropDownCalendarStyle(
DWORD dwRemove,
DWORD dwAdd = 0
); These new methods will be available in version 2.82 which is coming soon.
|
|
Suhai Gyorgy
|
Dec 20, 2007 - 6:18 AM
|
It would be nice to have an OnQueryDatePickerStyle overridable method in the CExtDateTimeWnd class, as well, not only in CExtGridCellDateTime class. Without that, you need to override CExtDateTimeWnd::OnShowDropDownMenu method, copy the original implementation and change the styles of the CExtPopupDatePickerMenuWnd variable created there.
|
|