Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlGallery - there is something wrong
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlGallery - there is something wrong

 Post Reply Post Reply
Author
Message
MGebler View Drop Down
Groupie
Groupie


Joined: 18 May 2006
Location: Germany
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote MGebler Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlGallery - there is something wrong
    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
Back to Top
MGebler View Drop Down
Groupie
Groupie


Joined: 18 May 2006
Location: Germany
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote MGebler Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2007 at 2:45am

Everything is ok in Version 11.1.2.

Please forget my previous posting.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.