Print Page | Close Window

[solved]Down arrow of spin button disappear

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=23664
Printed Date: 27 April 2024 at 5:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved]Down arrow of spin button disappear
Posted By: fleg
Subject: [solved]Down arrow of spin button disappear
Date Posted: 25 June 2018 at 11:59am

Hi,

I found a regression in propertty grid. When using in Spin button, if you click on the up arrow button, after some clicks, the image of the down button disappears, but comes back if you move the mouse cursor.
Here is a screenshot of your demo application "PropertyGrid.PropertyGrid.exe"

It can be reproduced with  Toolkitpro 18.3.0 and 18.4.0. It was working fine with 17.1

I tried using different themes, and all have the same issue.

If it is possible to get a code patch to apply a fix when available, it would be nice.

Regard,

Fabien




Replies:
Posted By: agontarenko
Date Posted: 18 July 2018 at 6:23am
Hello Fabien,

Thank you for bringing this to our attention. I'm glad to inform you that the issue has already been addressed and fixed. The fix will be available in the next beta or final release.

As hotfix you can add to class CCustomItemSpinInplaceButton method

afx_msg void OnLButtonUp(UINT nFlags, CPoint point);

void CCustomItemSpinInplaceButton::OnLButtonUp(UINT nFlags, CPoint point)
{
    CSpinButtonCtrl::OnLButtonUp(nFlags, point);

    Invalidate();
}

Regards,
Artem Gontarenko


Posted By: fleg
Date Posted: 18 July 2018 at 7:42am
Hi,

thanks for the reply

CCustomItemSpinInplaceButton class is only used in sample application.

Is there any fix required in CXTPPropertyGridInplaceSpinButton class which is the one I'm actually using in my application?


Posted By: agontarenko
Date Posted: 18 July 2018 at 9:00am
This is all changes.

Regards
Gontarenko Arte



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net