![]() |
SOLVED: Problem with tooltip. |
Post Reply ![]() |
Author | |
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() Posted: 25 November 2008 at 11:28am |
Hi,
I have a problem with a tooltip that - in my opinion - should not be displayed. To produce the tooltip do the following: 1. Open the Property Grid Sample program (PropertyGridD.exe). 2. In the 'String item' item (it can be found under 'Standard Items') enter a very long string. 3. Click into the description part (left of the splitter) of the item to remove the focus from the inplace edit field of the 'String item' item. 4. From there move the mouse SLOWLY rightwards to the value part of the 'String item'. When reaching the border between description and value part the cursor changes from arrow to 'move splitter', then a tooltip with the string entered above flashed for a moment, right before the mouse cursor changes from 'move splitter' to edit mark. Is this an intended behaviour? Best regards Holger |
|
Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit) Language: Visual C++ 15.0 (Visual Studio 2017) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() |
Hello Oleg,
thanks for the fast reply. BTW can you give me a hint how I can manually correct this issue? Bye Holger. |
|
Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit) Language: Visual C++ 15.0 (Visual Studio 2017) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
In XTPPropertyGridView.cpp
in void CXTPPropertyGridView::ShowToolTip(CPoint pt) method
add
if (pItem->IsSelected() && pItem->GetInplaceEdit().GetItem() == pItem &&
pItem->GetInplaceEdit().GetSafeHwnd() && pItem->GetInplaceEdit().IsWindowVisible()) return; |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
you got it. ![]() Bye Holger. |
|
Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit) Language: Visual C++ 15.0 (Visual Studio 2017) |
|
![]() |
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 |