Is it possible, that there is missing internally a small API call, because i see you are not using the DrawMenuBar_ API function and this is what i got from API reference:
Code: Select all
The DrawMenuBar function redraws the menu bar of the specified window. If the menu bar changes after Windows has created the window, this function must be called to draw the changed menu bar.
BOOL DrawMenuBar(
HWND hWnd // handle to window with menu bar to redraw
);
