不能在CMFCRibbonBar的MFC SDI应用程序中使用Alt代码 [英] Can't Use Alt Codes in MFC SDI Application with CMFCRibbonBar
问题描述
我正在使用MFC SDI开发一个应用程序。这里有一个问题,当我使用"alt key + code"时运行应用程序的CMFCRibbonBar中的
在第一次(例如Alt + 0165),它显示正确(¥),但它只是为第一次,在下一次它没有出现任何事情,没有变化发生。我的观众
从CRichEditView驱动
任何解决方案都将不胜感激!
使用Alt +键,命令将通过以下呼叫顺序执行。
您是否尝试过使用这些功能?这可能会有所帮助。
mfc140ud.dll!CMFCRibbonPanelMenuBar :: OnClickButton(CMFCRibbonButton * pButton = 0x008d1628,CPoint __formal = {...})第824行 C ++
mfc140ud.dll!CMFCRibbonButton :: OnClick(CPoint point = {...})第1067行 C ++
mfc140ud.dll!CMFCRibbonButton :: OnKey(int bIsMenuKey = 0)第1877行 C ++
mfc140ud.dll!CMFCRibbonBar :: ProcessKey(int nChar = 78)第5928行 C ++
mfc140ud.dll!CMFCRibbonBar :: PreTranslateMessage(tagMSG * pMsg = 0x0087e848)第3712行 C ++
- 西塔拉姆
i'm developing an application using MFC SDI.there is an issue here,
in the CMFCRibbonBar of running app when i used "alt key+code" in first time (for example Alt+0165 )it displays correctly (¥), but it's just for the first one and in the next times it doesn't appear any thing and no changes happen.my viewer
drived from CRichEditView class.
Any soloutions will be greatly appreciated!
Using Alt+key, commands gets executed with the follwing call sequence.
Did you try stepping into these functions? That may help.mfc140ud.dll!CMFCRibbonPanelMenuBar::OnClickButton(CMFCRibbonButton * pButton=0x008d1628, CPoint __formal={...}) Line 824 C++
mfc140ud.dll!CMFCRibbonButton::OnClick(CPoint point={...}) Line 1067 C++
mfc140ud.dll!CMFCRibbonButton::OnKey(int bIsMenuKey=0) Line 1877 C++
mfc140ud.dll!CMFCRibbonBar::ProcessKey(int nChar=78) Line 5928 C++
mfc140ud.dll!CMFCRibbonBar::PreTranslateMessage(tagMSG * pMsg=0x0087e848) Line 3712 C++-Seetharam
这篇关于不能在CMFCRibbonBar的MFC SDI应用程序中使用Alt代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!