I'm currently disable certain buttons by handling ON_UPDATE_COMMAND_UI
and calling ->Enable( TRUE / FALSE )
.
What would be the best way to completely hide the button instead?
I've tried using HideButton
and that makes the button image invisible, but it still takes up space so there is a blank area between visible buttons.
Thanks.