Print Page | Close Window

CXTPControlGallery - there is something wrong

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7223
Printed Date: 08 July 2024 at 2:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlGallery - there is something wrong
Posted By: MGebler
Subject: CXTPControlGallery - there is something wrong
Date Posted: 24 May 2007 at 1:52am
How it was (ok):
 
If you select an item in a CXTPControlGallery the selection can be determined by calling pGallery->GetSelectedItem() in the notification handler method (called by ON_XTP_EXECUTE).
 
How it is (Version 11.1.0):
 
The call of pGallery->GetSelectedItem() fails (retValue = -1 ) if the CXTPControlGallery is popped up and you select an item.
 
Just have a look at your ribbon sample (for example OnGalleryStyles )
 
 
With best regards
  Marcus



Replies:
Posted By: MGebler
Date Posted: 24 May 2007 at 2:45am

Everything is ok in Version 11.1.2.

Please forget my previous posting.



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