![]() |
Inconsistent Tooltips for Themed Property Grid |
Post Reply ![]() |
Author | |
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 657 |
![]() ![]() ![]() ![]() ![]() Posted: 31 October 2016 at 5:39am |
The Tooltip Theme for the items does not seem to follow the general Theme for the Property Grid. Using the Office 2013 Theme shows two different tooltip "look" for the section headers, and for the items?
![]() -cpede
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
astoyan ![]() Admin Group ![]() ![]() Joined: 24 August 2013 Status: Offline Points: 300 |
![]() ![]() ![]() ![]() ![]() |
Hi cpede, we'll definitely take of the issue and will let you know once it's resolved.
Regards, Alexander
|
|
![]() |
|
vkozlov ![]() Admin Group ![]() Joined: 01 December 2016 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi cpede,
Actually in the second case you see the whole value of grid item because the value is partially hidden. It is drawn exactly like it would be drawn if the place was enough. |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 657 |
![]() ![]() ![]() ![]() ![]() |
Except it uses the "old fashion" yellow background color, which the themed tooltips are not using anymore.
-cpede
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 657 |
![]() ![]() ![]() ![]() ![]() |
Aghhh, you did not fix this in v1801.
Very easy to reproduce in the Property Grid Sample. It seems, that the tool tips for the items in the property editor is NOT following the theme. -cpede
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 657 |
![]() ![]() ![]() ![]() ![]() |
Still not fixed in v18.2.0.
-cpede
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 657 |
![]() ![]() ![]() ![]() ![]() |
Still not fixed in v19.3.0. Come on.... -cpede
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
Pesci7 ![]() Groupie ![]() ![]() Joined: 27 January 2021 Location: Italy Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
I had the same problem and since I was very annoyed I took a look at the code and surprisingly found that theme tooltip support was already in place (CXTPPropertyGridToolTip). What was missing was drawing tooltips using themes. I then took the code from CXTPGridControl which has the tooltips that work correctly (CXTPGridTip) and copied and adapted the code from the OnPaint method. For simplicity I report below all the OnPaint code even if the changes are few
![]() Not extensively tested but it seems ok to me.
|
|
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 11 (x64) Language: Visual Studio 2022 (C++) |
|
![]() |
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 |