Robin Rodricks
Robin Rodricks

Reputation: 113956

How to hide a window's menubar?

I'm trying to hide the menubar in a C++ application using the windows API. I'm using AppendMenu / RemoveMenu to edit items. But I'm sick of the whole menu based interface and I just want to hide the whole application menubar. How can I do that using the windows API?

Upvotes: 4

Views: 3989

Answers (1)

James
James

Reputation: 9278

Call SetMenu with a NULL HWND parameter, according to the docs.

Upvotes: 7

Related Questions