Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - [solved]Down arrow of spin button disappear
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved]Down arrow of spin button disappear

 Post Reply Post Reply
Author
Message
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post Topic: [solved]Down arrow of spin button disappear
    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

Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2018 at 9:00am
This is all changes.

Regards
Gontarenko Arte
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.188 seconds.