How to hide disabled icon from toolbar? |
Post Reply |
Author | |
aaabc
Newbie Joined: 29 January 2007 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 21 February 2007 at 1:18am |
Is there any way to not only disable, but also hide icon(s) from toolbar?
Thanks.
|
|
tommylov
Groupie Joined: 09 January 2007 Location: United States Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Try this:
int index = 0; // index of icon you want to hide
CXTPControl * pctrl = (CXTPControl *)pToolBar->GetControl(index);
pctrl->SetVisible(FALSE); |
|
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 |