Print Page | Close Window

More Colors... XTP_IDS_MORE_COLORS

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=8388
Printed Date: 26 April 2024 at 5:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: More Colors... XTP_IDS_MORE_COLORS
Posted By: terrym
Subject: More Colors... XTP_IDS_MORE_COLORS
Date Posted: 10 October 2007 at 12:37pm

ON_COMMAND( XTP_IDS_MORE_COLORS, OnMoreColours )

We have multiple colour selectors, how do we detect which one was selected, as each colour selectors MORE COLORS... button goes to same function due to XTP_IDS_MORE_COLORS
 
Any help much appreciated


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

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



Replies:
Posted By: Oleg
Date Posted: 10 October 2007 at 1:56pm
Hi,
 
Sulution 1. Use special Id (not XTP_IDS_MORE_COLORS) for each selector
Solution 2. Add some tag to control: pControl->GetTag()/pControl->SetTag(); and replace ON_COMMAND to EXECUTE to retrieve Control.


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


Posted By: terrym
Date Posted: 11 October 2007 at 6:58pm

Cheers



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

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



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