MonthCal Multiselect Problem with Manifest |
Post Reply |
Author | |
Josef
Groupie Joined: 15 April 2006 Status: Offline Points: 59 |
Post Options
Thanks(0)
Posted: 04 March 2008 at 9:06pm |
Hello,
using Monthcal with Multiselect=True does not display the selected date range right. If used without .manifest file, it works, but of course, the buttons doesn't have a visual style. Please find attached a sample project, that shows the problem. Start the exe file with and without .manifest and select a date range. Hope you can help, Josef 20080304_210512_MonthCal.zip |
|
Krog
Groupie Joined: 06 February 2008 Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Hello Josef!
This is a bug in the Windows MonthCal control. This control is not drawn by the codejock code, then they cannot help. Only the Microsoft can solve it. You can search the google for "monthcalendar multiselect bug", whithout the quotes. What we can do is to use the Codejock Calendar control, that is entirely drawn by the codejock code. |
|
Josef
Groupie Joined: 15 April 2006 Status: Offline Points: 59 |
Post Options
Thanks(0)
|
Hello Krog,
thank you. With this information i found a usable work around setting the colors of the month-control. Maybe you can add color properties to the control in a future version? Bye, Josef SendMessage .hWnd, MCM_SETCOLOR, MCSC_BACKGROUND, GetSysColor(COLOR_WINDOW) SendMessage .hWnd, MCM_SETCOLOR, MCSC_MONTHBK, GetSysColor(COLOR_WINDOW) SendMessage .hWnd, MCM_SETCOLOR, MCSC_TEXT, GetSysColor(COLOR_BTNTEXT) SendMessage .hWnd, MCM_SETCOLOR, MCSC_TITLEBK, GetSysColor(COLOR_BTNFACE) SendMessage .hWnd, MCM_SETCOLOR, MCSC_TITLETEXT, GetSysColor(COLOR_BTNTEXT) SendMessage .hWnd, MCM_SETCOLOR, MCSC_TRAILINGTEXT, GetSysColor(COLOR_BTNSHADOW) |
|
Krog
Groupie Joined: 06 February 2008 Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Josef,
I am not from the Codejock team, I am a user. But thanks for the information. In this way the other users can use this workaround. Maybe this code could be put inside the SuiteControls by the Codejock team by default, if possible. Thank you! |
|
Krog
Groupie Joined: 06 February 2008 Status: Offline Points: 100 |
Post Options
Thanks(0)
|
Well, it does not worked with me. Only the days text become visible, but the background of the selection remained the same: invisible in the middle days of the selection:
If someone knows a way to solve this, we all would like to know... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Doesn't work for me too. Try DatePicker from Calendar package.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |