What happens if the user clicks on an invisible command button?

If a control is not visible, is it enabled?

I sometimes want to prevent Command Button actions. I have been setting enabled to false, but think it would look better if the disaabled controls were invisible.

Should I set both visible and enabled to false?