![]() |
CXTPControlGallery - there is something wrong |
Post Reply ![]() |
Author | |
MGebler ![]() Groupie ![]() Joined: 18 May 2006 Location: Germany Status: Offline Points: 64 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
MGebler ![]() Groupie ![]() Joined: 18 May 2006 Location: Germany Status: Offline Points: 64 |
![]() ![]() ![]() ![]() ![]() |
Everything is ok in Version 11.1.2. Please forget my previous posting.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |