CCustomSliderItem and Ribbon + Color selector bug |
Post Reply |
Author | |
gwoin
Groupie Joined: 09 September 2004 Location: France Status: Offline Points: 52 |
Post Options
Thanks(0)
Posted: 08 March 2007 at 5:18am |
Hi,
I have two bugs in my application. May be it is something wrong in my code, but I have reproduced them with the samples provided with the toolkit. 1: If I put a CCustomSliderItem (from the XTP sample) in a CProperty grid and then I move its cursor, so the ribbon bar react weirdly: The icons don't seem to be correctly refreshed if I move the mouse over. If I then select another item in the property grid, so the problem disappears. 2: The color selector from the CXTPPropertyGridItemColor has a very annoying problem. Actually, when you move the cross over the colors, the cursor (the gray triangle) is always replaced at the center of the vertical bar. So you loose your previous work and must replace the cursor correctly at each time. I put here a simple sample source code. I just copied the RibbonMDISample and added a property grid whithin a pane. uploads/20070308_050919_RibbonPaneMDISa.rar I did the test on a WinXP 64 (same problem if I build the application for Win32 or Win64) with Visual C++ 2005. I hope these will be solved easily because these are both very annoying problems in my application. Thank you. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, 1. You added Invalidate(FALSE); in CInplaceSlider::OnCustomDraw
obviously it is reason.
2. Actually it was designed, but think you right and need to change this.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
gwoin
Groupie Joined: 09 September 2004 Location: France Status: Offline Points: 52 |
Post Options
Thanks(0)
|
Hi Oleg,
thank you for your answer. The problem was effectively the Invalidate(FALSE) call . Regarding the color selector, my users will be very glad when it will be changed Cheers. |
|
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 |