![]() |
Hide Toolbars From CustomizeDlg |
Post Reply ![]() |
Author | |
nettel ![]() Newbie ![]() Joined: 04 January 2005 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 04 January 2005 at 7:27am |
Someone can help me????
I have a little, perhaps easy problem. ![]() ![]() Now I look for an easy way, without overwrite parts of codejock-library, to hide it from the dialog. So, who can help me???? |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Here is how you can delete the toolbars page, I'm not sure how to delete individual toolbars from list.
void CMainFrame::OnCustomize() { CXTPCustomizeSheet cs(GetCommandBars()-); cs.RemovePage(0); ....... cs.DoModal(); } |
|
![]() |
|
nettel ![]() Newbie ![]() Joined: 04 January 2005 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Hi SuperMario,
thanks for the anwser. But it don't solve my problem. There are many other toolbar they want to be customizable. Whatever it's a way - not so fine but it's a way. Now, here comes the next problem with the same background. Not only in CustomizeDlg also in the MenuEntry "Toolbars" with ID_VIEW_TOOLBAR (59392) appears the toolbar. So my question to solve it is: it is possible to delete the toolbar temporary from the CommandbarList in the CommandBars-Object???? If Yes, how can I put the Bar back?? Have a nice day Bernd |
|
![]() |
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 |