如何控制菜单的显示区域?

解决方案 »

  1.   

    http://www.codeproject.com/menu/newmenuxpstyle.asp
      

  2.   

    //设置菜单每个项目的宽和高
    void CMenuXP::MeasureItem( LPMEASUREITEMSTRUCT lpMeasureItemStruct )
      

  3.   

    自绘菜单
    重载virtual void MeasureItem( LPMEASUREITEMSTRUCT lpMeasureItemStruct );Override this member function and fill in the MEASUREITEMSTRUCT structure to inform Windows of the menu’s dimensions.