News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

child win creation in a MDI fails using CreateWindowEx

Started by Rainstorm, August 03, 2011, 11:31:05 PM

Previous topic - Next topic

dedndave

well - it doesn't seem to work using LoadMenu/SetMenu or by setting the WNDCLASSEX lpszMenuName member

after googling around a bit - it appears some have done it - perhaps they used CreateMenu, rather than loading it from resource
but - there are other related problems
when the child is maximized, the child menu gets merged into the parent menu


at any rate - why not put the menu items for the child in the parent menu
this makes sense because they will all share the same menu functions

xandaz

    Well....i'm kinda having some problems also with SetWindowLong,hWnd,GWL_USERDATA for MdiChild windows. Does this work? Man what a drag.
    The thing is that i wanted it to have different menu rather than the frame window's. I guess it can't be done, so,... i'll just leave it alone.