Hello.
How to remove the menu from the standard Win32 application, which is created by Visual Studio 2010.
Using the standard CreateWindow function, I write this:
hWnd = CreateWindow(szWindowClass, szTitle, WS_POPUP, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
WS_POPUP
- style, meaning the time window, it should not have a menu, but as you can see on the screenshot, the window is created from the menu.
How to ensure that there is no menu?