网页中嵌入MFC开发的OCX控件,Tab键顺序的问题

一路博客 2011-10-13 04:19:19


第二个是MFC写的OCX控件,现在问题是按Tab键如何焦点从1到2,再按Tab键焦点从2到3。
...全文
136 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
一路博客 2011-10-17
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 wongwayne 的回复:]
LZ这个控件是怎么做的,能详细说明一下吗?
[/Quote]

等我写个帖子。大家一起学习。
yyps 2011-10-14
  • 打赏
  • 举报
回复
MFC 中当然可以用CTRL + D 调整控件序列,但是你这样混用的话就不知道了
ndy_w 2011-10-14
  • 打赏
  • 举报
回复
When the WebBrowser control receives an accelerator key message, it does not automatically pass it to child controls on a Web page. Therefore, you must somehow let the WebBrowser control know that it should pass these messages to controls on your Web page.
The solution is always the same whether you are hosting the control in MFC, ATL, or standard C++: call the TranslateAcclerator method of the IOleInPlaceActiveObject interface that is implemented by the WebBrowser control.
96掌门师兄 2011-10-14
  • 打赏
  • 举报
回复
应该是由网页控制的。
WongWayne 2011-10-14
  • 打赏
  • 举报
回复
LZ这个控件是怎么做的,能详细说明一下吗?
一路博客 2011-10-13
  • 打赏
  • 举报
回复
网页测试的控制不了,感觉写一个函数网页和MFC程序配合控制,但是测试也不成功!

原来调到2时看不到光标,改程序后光标一直在2跳不出去了。
fandh 2011-10-13
  • 打赏
  • 举报
回复
是不是应该网页控制?

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧