Home > Software engineering >  Win32 inline child window does not display the menu
Win32 inline child window does not display the menu

Time:10-02

Why do I create a child window in the win32 window with WS_OVERLAPPEDWINDOW | WS_CHILD how to create a child window menu also show not to come out?

CodePudding user response:

If you use is CreateWindow, then increase LoadMenu after the create

CodePudding user response:

reference 1st floor Janxionwang response:
if you use CreateWindow, then increase after the create LoadMenu

I have, this is a pop-up embedded have no, also is the same code, remove WS_CHILD, child window will pop up, menu has, but not embedded inside

CodePudding user response:

When the registration window
Wcex. LpszMenuName=(LPSTR IDC_MENU);
Child window is a window ID
  • Related