Multiline tooltip in value part of grid |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 08 October 2007 at 8:13am |
Hello,
I'd like to show multiline tooltips in the right side of the property grid, however CXTPPropertyGridToolTip implementation uses DrawText() with DT_SINGLELINE and does not allow any customization. How can I achieve this without changing XTP sources? Thanks, in advance! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
In 11.2 releae you can just set specific tooltip for item:
pItem->SetTooltip(strTip);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Thank you. Any possibility to use multiline tooltips? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
These tooltips have to support multiline by default.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
I see, thank you. However, I'd like to see a multiline tooltip for the value part of the grid, too: Is it possible with 11.2.0? |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Bug.
Make Value field small (see picture) Now select Line 'Multiline String Item'. Move mouse over value. Tooltip only show for short time. Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Obviously you didn't use pItem->SetTooltip method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Yes, it work.
But if Multiline String Item is selected, mouse over value does not show the tooltip. Jimmy |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |