akoloff 0 Newbie Poster

I am recently converting an application to the office style look, with a ribbon menu instead of regular menu. Surprisingly, I cannot change the title of the main window when using SetWindowText(). GetLastError() return success. The title which is displayed comes from IDR_MAINFRAME string and isn't changing no matter what I do. The same problem with the status bar texts: it just displays whatever is in the resource strings, which is "Panel " and "Pane 2". What am I missing? Anyone had the same problem?

I'm using Visual Studio 2010.
Thank you