Print Page | Close Window

SOLVED: Problem with tooltip.

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=12796
Printed Date: 22 September 2024 at 1:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Problem with tooltip.
Posted By: farr02
Subject: SOLVED: Problem with tooltip.
Date 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)



Replies:
Posted By: Oleg
Date Posted: 26 November 2008 at 3:33am
Thanks.

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


Posted By: farr02
Date Posted: 26 November 2008 at 4:54am
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)


Posted By: Oleg
Date Posted: 26 November 2008 at 7:18am
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


Posted By: farr02
Date Posted: 27 November 2008 at 4:49am
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)



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