![]() |
Problem (possibly bug) with disabled button |
Post Reply
|
| Author | |
rokky05
Groupie
Joined: 04 February 2008 Location: Ukraine Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem (possibly bug) with disabled buttonPosted: 20 June 2008 at 8:49am |
|
Hi, I disabled button in my CommandBar like this:
BOOL SomeAPP::OnInitDialog(){
....
pToolBarCombo->GetControl(1)->SetEnabled(FALSE);
....
} Button is disabled but when i push other button on this bar my Disabled Button becomes Enabled, Why??? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2008 at 1:40pm |
|
Add
pToolBarCombo->GetControl(1)->SetFlags(xtpFlagManualUpdate); to ignote Update handlers.
|
|
|
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 |