Print Page | Close Window

11.2.1 Gallery Control Tool Tip Issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8923
Printed Date: 14 November 2025 at 8:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 11.2.1 Gallery Control Tool Tip Issue
Posted By: terrym
Subject: 11.2.1 Gallery Control Tool Tip Issue
Date Posted: 27 November 2007 at 11:51am
11.2.1 Gallery Control Tool Tip Issue, it is showing wrong image, like it does not take into account the headings correctly ???
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: Oleg
Date Posted: 27 November 2007 at 12:03pm
Hi,
 
It used m_nID property - not m_nImage. Check may be you have them different.
But think you right and need to change to m_nImage.


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


Posted By: Oleg
Date Posted: 27 November 2007 at 12:05pm

For 11.2.2 release we change line in OnToolHitTest  as

 
INT_PTR nHit = pItem->m_nImage >= 0 ? pItem->m_nImage : pItem->m_nId;
(and added friend class)


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


Posted By: terrym
Date Posted: 27 November 2007 at 12:08pm

Hi Oleg

 

Is it easy to change to m_nImage for me in the source as this all worked ok before, and ID may mess other things up.

 

Hope you are all not worried about Microsoft’s decision as we believe you are much better than what they give, so keep up great work.

 

Cheers

Terry



-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: terrym
Date Posted: 28 November 2007 at 6:20am

Any ideas of a quick fix for this as causing us issues :( as prefered how it worked before, is it easy to change all to m_nImage as you state ???

If not, please explain how it now works as we cant send out latest vesion out to testers until we fix this issue.
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 29 November 2007 at 1:33am
Hello,
 
don't change m_nImage. Better change code as
 
INT_PTR nHit = pItem->m_nImage >= 0 ? pItem->m_nImage : pItem->m_nId;


-------------
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