Pb with LoadToolBar and LoadSHMenuBar 
Author Message
 Pb with LoadToolBar and LoadSHMenuBar

I'm trying to load a toolbar and to insert (just after it) a menu bar :

  m_wndCommandBar.ResetCommandBar();
  m_wndCommandBar.LoadToolBar(IDR_MAINFRAME);
  m_wndCommandBar.InsertMenuBar(IDR_MENU);

It works but if IDR_MENU contains a popup and a menu item, i can't see the
menu item (why ...).

If i change InsertMenuBar by LoadSHMenuBar, it works (i have all items of my
menu), but the toolbar is lost !

If someone has an idea on how to insert a toolbar and after insert  a menu
bar correctly, thanks in advance.



Tue, 01 Mar 2005 21:04:20 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Pb RSACryptoServiceProvider

2. Pb with multipage

3. ENORMOUS Pb with VC7 linker optimisation !

4. Pb with VC7 with CString and VARIANT...

5. malloc and free pb

6. pb promoting float to double

7. malloc and free pb

8. Pb with passing a function as parameter

9. Pb avec strftime.

10. Pb with C++/VB DCom

11. PB Creating a file

12. serial IO pb in C51

 

 
Powered by phpBB® Forum Software