Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Custom ToolTip Texts of PropetyGridItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom ToolTip Texts of PropetyGridItem

 Post Reply Post Reply
Author
Message
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Topic: Custom ToolTip Texts of PropetyGridItem
    Posted: 13 June 2007 at 5:14am
Hello,

I'd like to have my own texts displayed as ToolTip texts in the PropertyGrid. In our case, PropertyGridItems can have different text set as their value and different text that would be fine to show in a tooltip for that grid item.
Is there a way to achieve this in XTP? Or do I need to modify XTP sources to achieve this?

Thank you, in advance!

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: 13 June 2007 at 5:36am
Hello,
 
Now only value can be used as tooltip - you can patch void CXTPPropertyGridView::ShowToolTip(CPoint pt) method to set some tooltip.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2007 at 5:41am
Thank you! Yes, exactly that's what I'm experimenting with right now.
Any plans to add this possibility as a customization feature of XTP in the future? I'd like to minimize our changes to XTP code as long as possible (to lower future maintenance efforts of the library).

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.