Print Page | Close Window

Disabled gallery items (again)

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=14449
Printed Date: 03 June 2024 at 8:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disabled gallery items (again)
Posted By: znakeeye
Subject: Disabled gallery items (again)
Date Posted: 04 June 2009 at 9:11am

Please see this thread: http://forum.codejock.com/forum_posts.asp?TID=13920&KW=gallery - http://forum.codejock.com/forum_posts.asp?TID=13920&KW=gallery

Here's an example demonstrating the problem with gallery items:
http://forum.codejock.com/uploads/20090604_091005_RibbonControls_.zip - uploads/20090604_091005_RibbonControls_.zip
 
Just compile and run! A messagebox will pinpoint the problem...


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: Oleg
Date Posted: 09 June 2009 at 2:26am

Why it should??? You draw control with enabled = false and how control have to figure out that it have act like disabled ?

Disable Whole Gallery with pCmdUI->Enable(FALSE) -
 
void CMainFrame::OnEnableButton(CCmdUI* pCmdUI)
{
 pCmdUI->Enable(FALSE);
}
and Inline gallery will be diabled with all buttons.


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


Posted By: znakeeye
Date Posted: 09 June 2009 at 2:48am
That's exactly my question; why is it not possible to disable individual gallery items? Did MS specify this limitation? Did I miss anything?
 
Thanks.


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 10 June 2009 at 3:28am
Hi,
 
Its added for final 13.1.


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


Posted By: znakeeye
Date Posted: 10 June 2009 at 5:53am
Thank you!
 
This feature makes sense when you have some 10 gallery items, and do not want to remove inactive ones - which would effectively change the order, confusing the user.


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: znakeeye
Date Posted: 25 June 2009 at 3:08am
This works like a charm in 13.1. One question though; is it possible to have update-handlers for gallery items?

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 26 June 2009 at 5:17am
No, only for whole Gallery.

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



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