Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - GetMenuBar()->LoadMenu() problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

GetMenuBar()->LoadMenu() problem

 Post Reply Post Reply
Author
Message
hpesata View Drop Down
Groupie
Groupie


Joined: 16 July 2004
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote hpesata Quote  Post ReplyReply Direct Link To This Post Topic: GetMenuBar()->LoadMenu() problem
    Posted: 06 January 2005 at 5:13am
Hi!

I am trying to use Xtreme Toolkiit Pro with an existing VC++.NET MFC app.

I realized, that when I import the exisiting MFC-menu into XTP by using
GetCommandBars()->GetMenuBar()->LoadMenu(&mymenu ), disabled menu-entries
are not imported correctly, menu-entries which use MF_GRAYED are show enabled.

I am currently not using any ON_UPDATE_COMMAND_UI() handlers and I am using the CFrameWnd::m_bAutoMenuEnable=FALSE flag.

any help with this would be greatly appreciated, thanx in advance!

regards,
Hans

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.