Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - [SOLVED] Possible bug in XTPPropertyGridItemFont
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Possible bug in XTPPropertyGridItemFont

 Post Reply Post Reply
Author
Message
Markus View Drop Down
Newbie
Newbie


Joined: 07 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Markus Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Possible bug in XTPPropertyGridItemFont
    Posted: 16 February 2012 at 10:58am
Hello,

I'm using the PropertyGridItemFont in my Property Grid. Now, maybe since version 15.2.1 I miss the notification of the changed value. After debugging I think it's a problem with the focus change when the CFontDialog comes and goes.

After DoModal() of CDialogForm in the function CXTPPropertyGridItemFont::OnInplaceButtonDown(CXTPPropertyGridInplaceButton* pButton) the value of m_pGrid is NULL, which cause that the afterwards called function if ( OnAfterEdit(strValue) ) return FALSE and the notification function OnValueChanged(strValue) is never reached.

Is there a fix or a workaround?

Best regards and "Narri Narro" ;-)
Markus
Back to Top
Markus View Drop Down
Newbie
Newbie


Joined: 07 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Markus Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2012 at 7:27am
Hello,

after some more debugging I recognized, that my own code rebuild the property grid after switching back the focus from the CFontDialog to the property grid.

Please accept my apologies. Xtreme Toolkit is a great piece of software!

Markus
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.125 seconds.