quaizywabbit Posted August 10, 2005 Share Posted August 10, 2005 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 Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 11, 2005 Author Share Posted August 11, 2005 I'd figure one of the Dev's knows....... [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Valik Posted August 11, 2005 Share Posted August 11, 2005 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. Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 11, 2005 Author Share Posted August 11, 2005 Thanks Valik! [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 12, 2005 Author Share Posted August 12, 2005 (edited) Works like a charm, Valik!Thanks again!! I posted an example Here Edited August 12, 2005 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now