Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - More Colors... XTP_IDS_MORE_COLORS
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

More Colors... XTP_IDS_MORE_COLORS

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: More Colors... XTP_IDS_MORE_COLORS
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2007 at 6:58pm

Cheers

Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.