Print Page | Close Window

Multiline tooltip in value part of grid

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=8347
Printed Date: 23 November 2024 at 9:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiline tooltip in value part of grid
Posted By: akur
Subject: Multiline tooltip in value part of grid
Date 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!



Replies:
Posted By: Oleg
Date Posted: 09 October 2007 at 1:26am
Hi,
 
In 11.2 releae you can just set specific tooltip for item:
pItem->SetTooltip(strTip);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: akur
Date Posted: 30 October 2007 at 8:21am
Originally posted by oleg oleg wrote:

In 11.2 releae you can just set specific tooltip for item:
pItem->SetTooltip(strTip);


Thank you. Any possibility to use multiline tooltips?


Posted By: Oleg
Date Posted: 30 October 2007 at 10:07am
Hi,
 
These tooltips have to support multiline by default.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: akur
Date Posted: 30 October 2007 at 10:34am
Originally posted by oleg oleg wrote:

These tooltips have to support multiline by default.

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?



Posted By: jimmy
Date Posted: 30 October 2007 at 10:46am
Bug.
Make Value field small (see picture)
Now select Line 'Multiline String Item'.
Move mouse over value.
Tooltip only show for short time.

  Jimmy



Posted By: Oleg
Date Posted: 30 October 2007 at 1:28pm
Obviously you didn't use pItem->SetTooltip method.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jimmy
Date Posted: 31 October 2007 at 3:12am
Yes, it work.
But if Multiline String Item is selected, mouse over value does not show the tooltip.

  Jimmy




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