Jump to content

Recommended Posts

Posted

when adding $WS_CHILD to a window that has a menu, the menu will disappear.

when removing $WS_CHILD from the same window, what is necessary to restore the menu back to its initial state?

[u]Do more with pre-existing apps![/u]ANYGUIv2.8
Posted

Call GetMenu() to get a handle to the menu, do your thing, then call SetMenu() to add the menu back. Its untested and those are obviously Windows API calls. The names may also be wrong as I haven't used them in awhile but should be close enough to get you to the documentation on MSDN.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...