gdutbean

 

 

  1. 在class CMainFram 中添加 菜单栏对象 CBCGMenuBar

 

CBCGPMenuBar m_wndMenuBar;   // new menu bar

添加如下代码:

     //By Miawu

 

     if(!m_wndMenuBar.Create (this))

     {

         TRACE0("创建 BCG MENU 失败");

         return -1;

    

     }

     m_wndMenuBar.SetBarStyle(m_wndMenuBar.GetBarStyle()| CBRS_TOOLTIPS|

         CBRS_FLYBY| CBRS_SIZE_DYNAMIC);

     m_wndMenuBar.EnableDocking (CBRS_ALIGN_ANY);

     DockControlBar (&m_wndMenuBar);

 

 

 

 

分类:

技术点:

相关文章:

  • 2021-07-19
  • 2022-01-14
  • 2021-09-09
  • 2021-11-20
  • 2021-12-06
  • 2021-04-27
  • 2021-11-04
  • 2021-11-13
猜你喜欢
  • 2021-11-18
  • 2021-08-16
  • 2021-11-02
  • 2021-11-04
  • 2021-06-06
  • 2021-06-12
相关资源
相似解决方案