Menubar + Commandbar on WM 5.0 and WM 6.5.3
- by heller.rublog
I'm developing a Windows Mobile application, and I faced a problem with CCommandBar that combines toolbar and menubar. Well, I mean the following:
m_wndCommandBar.InsertMenuBar(IDR_MAINFRAME);
m_wndCommandBar.LoadToolBar(IDR_MAINFRAME);
I have only one root menu option in my command bar and some buttons in toolbar.
It works perfectly on Windows Mobile till version 6.5.3, but on WM 6.5.3 all toolbar buttons have the same dimensions as the menu item: screen.
Is it possible to force WM 6.5.3 to draw command bar the same way as WM 5.0 did? Of cource I can use only toolbar and throw away my menubar, but I want to save the old UI.
P.S. I'm sorry for my English mistakes. I was always failing at school :-(