• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

Invisble toolbar button MFC

Hiya

Is there a way to make a toolbar button invisible?

John
0
IssacJones
Asked:
IssacJones
1 Solution
 
alb66Commented:
m_yourToolBar.GetToolBarCtrl().HideButton( ID_YOUR_BUTTON, TRUE );

and to make it visible again:

m_yourToolBar.GetToolBarCtrl().HideButton( ID_YOUR_BUTTON, FALSE );
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now