第二个是MFC写的OCX控件,现在问题是按Tab键如何焦点从1到2,再按Tab键焦点从2到3。

解决方案 »

  1.   

    网页测试的控制不了,感觉写一个函数网页和MFC程序配合控制,但是测试也不成功!原来调到2时看不到光标,改程序后光标一直在2跳不出去了。
      

  2.   

    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. 
      

  3.   

    MFC 中当然可以用CTRL + D 调整控件序列,但是你这样混用的话就不知道了