Tab控件和HTML查看器控件之间的焦点问题 [英] Focus issue between Tab control and HTML viewer control

查看:92
本文介绍了Tab控件和HTML查看器控件之间的焦点问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

正在开发WM 5.0中的智能手机应用程序(win32 native C ++)。因为我在选项卡控件中使用HTML查看器控件时遇到了麻烦。示例,如果我有两个选项卡。按下tab1时显示图像。当我按下tab2时,显示Html查看器控件(例如:一个按钮和一个文本框)。现在我按下了tab2,显示了html控件。现在我将焦点设置为html查看器控件。我不知道如何将焦点移回标签控件。这是我的问题..分享你的想法给我解决这个问题..

提前谢谢


Azad.S

解决方案

以编程方式设置焦点不起作用?

  SetFocus( tabHwnd );  


Hi all,

Am developing the smart phone application in WM 5.0 (win32 native C++). In that i have trouble in using HTML viewer control within tab control. Example if i have two tabs. Image is displayed when i pressed the tab1. Html viewer controls are (eg : one button and one text box) is displayed when i pressed the tab2. Now i pressed the tab2, html controls are displayed. Now i set the focus to html viewer controls. I dont know how to move the focus back to the tab control. This is my problem.. Share ur ideas to me to solve this problem..

Thanks in advance


Azad.S

解决方案

Setting focus programmatically doesn´t work?

SetFocus(tabHwnd); 


这篇关于Tab控件和HTML查看器控件之间的焦点问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆