Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CCustomSliderItem and Ribbon + Color selector bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CCustomSliderItem and Ribbon + Color selector bug

 Post Reply Post Reply
Author
Message
gwoin View Drop Down
Groupie
Groupie
Avatar

Joined: 09 September 2004
Location: France
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote gwoin Quote  Post ReplyReply Direct Link To This Post Topic: CCustomSliderItem and Ribbon + Color selector bug
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2007 at 6:50am

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
Back to Top
gwoin View Drop Down
Groupie
Groupie
Avatar

Joined: 09 September 2004
Location: France
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote gwoin Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2007 at 7:40am
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.