即使我们移动到其他应用程序,我们如何在应用程序前设置拼写检查窗口。 [英] How we can set the Spell check window in front of application always even though we moved to some other application.

查看:119
本文介绍了即使我们移动到其他应用程序,我们如何在应用程序前设置拼写检查窗口。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



面对Windows窗体中的拼写检查实施问题。



In如果我们在文本框中输入任何字符并单击拼写检查按钮,则表单将显示在应用程序的前面。但如果我们转移到其他应用程序(例如Outlook,Word),则拼写检查会返回。应用冻结了。然后关闭拼写检查,我们无法打开申请..



其中一个可以帮助我解决问题..在此先感谢。

Hi All.

Facing the Problem of spell check implementation in Windows forms.

In the application if we entering any character in textbox and click the spell check button , the form will come front of the application. but if we moving to some other application (eg. Outlook, Word, ) then spell check goes back. the appliaction frozes. and till otherwise close the spell check we can't able to open the application..

Could one of the them help me to solve the issue.. Thanks in advance.

推荐答案

您是否尝试将拼写检查表单的TopMost属性设置为true?还尝试将处理程序绑定到表单的LostFocus事件,并在处理程序调用中调用
Did you try setting the "TopMost" property to true for the spell check form? Also try binding a handler to the LostFocus event of your form, and in the handler call
myForm.BringToFront()

使用线程可能是另一种解决方案。

Using threading may be another solution.


这篇关于即使我们移动到其他应用程序,我们如何在应用程序前设置拼写检查窗口。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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