Print Page | Close Window

tooltip and item button drawing bug

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=11608
Printed Date: 21 November 2024 at 12:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: tooltip and item button drawing bug
Posted By: adrien
Subject: tooltip and item button drawing bug
Date Posted: 28 July 2008 at 1:27am
Hi
 
Using 12.0.1 toolkit.
 
Problem in CXTPPropertyGrid, relating to tooltips.  If you have an item with a value wider than the column, and it has a button as well, then if you hover over it, you get the tooltip (which is correct), but when you hover over the button, it is all greyed out, and no button.
 
 
and
 
 
as you can see - no button, and no content.  This is when you hover over the item, and then hover from there to the button position.


-------------
http://www.wingate.com - http://www.wingate.com



Replies:
Posted By: Oleg
Date Posted: 28 July 2008 at 3:04am
Hi,
Do you see same with our sample ?


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


Posted By: adrien
Date Posted: 29 July 2008 at 7:49pm

hmmm, doesn't seem to happen in the sample.

this is in a DLL.  I had to create a new thread to create the new frame window from which this dialog is launched.



-------------
http://www.wingate.com - http://www.wingate.com


Posted By: adrien
Date Posted: 29 July 2008 at 7:50pm
what is used to redraw?  Is it some onidle processing?

-------------
http://www.wingate.com - http://www.wingate.com


Posted By: Oleg
Date Posted: 30 July 2008 at 8:17am
Hi,
We don't call special redraw method after tooltip - OS have to handle it and send WM_PAIN to Grid View.  
 
Maybe its some clip issue. try to remove or add WS_CLIPCHILDREN for Dialog/PRopertyGrid.
 
 


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


Posted By: adrien
Date Posted: 04 August 2008 at 1:58am
you're a genius!
 
 m_Params.ModifyStyle(0, WS_CLIPCHILDREN, 0);
fixed it.
 
Thanks!
 


-------------
http://www.wingate.com - http://www.wingate.com


Posted By: Oleg
Date Posted: 04 August 2008 at 4:11am
Great. :)
 
We modified sources to add WS_CLIPCHILDREN automatically if grid is subclassed from dialog control.


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



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