Hi Tomek, Thank you very much for this tip. It works. I had to only call DrawMenuBar() to refresh the menu. Without this call the menu was updated only when the mouse was over the menu. (This is only when the application starts). When all documents were closed and then I opened a new one the menu was shown correctly. Dziekuje, Jerzy :)