Hi.

I have a dialog-based application written with eVC++ 4, MFC. I have a
menu bar, and when I open a modal dialog the menubar disappears when
the new dialog is active. But when the dialog is closed, the menubar
re-appears. This behavior is quite OK...

However: If I display a modeless dialog, the menubar still disappears
(which is sort of OK), but the problem is that when I call
DestroyWindow() in the modeless dialog, the menubar never reappears.

1: Is it possible to make the menubar stay even if I display a
modeless dialog?

2: If not, how do I make the menubar reappear after I destroy the
modeless dialog?

Best regards,
Ole-Johan Ellingsen