Author: Alexander SmirnovAlexander Smirnov
Date: May 31, 2008 13:47
Hi
I'm experimenting with MFC CHtmlView class. I want to dynamically
generate html formatted text in it. So I want to disable some shortcut
keys of Internet Explorer. Namely F5 and Ctrl+F5. I don't want to
disable all keys. For example CTRL+F (find text) would be useful.
I found that I can do it by overriding
CHtmlView::OnTranslateAccelerator method and returning S_OK for
particular nCmdID values.
Is this method correct?
What header files are mCmdID values defined in? Is there any
description for this values? For now I can only expirementally find
what these values are equal to. I didn't find any description in MSDN.
Thanks in advance
|