![]() |
Disabled gallery items (again) |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Disabled gallery items (again)Posted: 04 June 2009 at 9:11am |
|
Please see this thread: http://forum.codejock.com/forum_posts.asp?TID=13920&KW=gallery Here's an example demonstrating the problem with gallery items:Just compile and run! A messagebox will pinpoint the problem...
|
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2009 at 3:28am |
|
Hi,
Its added for final 13.1.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 June 2009 at 5:17am |
|
No, only for whole Gallery.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |