Re: Bypass Accelerator Keys
CHtmlView already handles backspace, if you want to override it you will
have to load an accelerator table and use that.
BOOL CHTMLViewView::PreTranslateMessage(MSG* pMsg)
if (::TranslateAccelerator(m_hWnd,m_hAccel,pMsg) == 0)
"ZagNut" <firstname.lastname@example.org> wrote in message
I have a CMDIChildFrm that implements a CHtmlView. Problem is, the
application has the backspace and delete keys defined as accelerators
for some menu items, which are disabled when this form is
instantiated. If I leave them disabled, backspace and delete keys
don't work (are "dead" keys). If I remove the ON_UPDATE_COMMAND_UI
that disables it, I get shloads of errors. I just want the delete and
backspace keys to work for this form.