Open
Description
I have read through the API again and I can see a get_isEnabled
method for default menu items. But, what about our custom menu items?
Background
My editor has several View modes. And, certain features are only available in certain view modes. So I would like the ability to disable menu items on demand. I realise that I could add a variable to my CWebBrowser
class that builds the menu, and only add it if variable has a certain value. But I prefer to disable.
Win32, C++