绝望:无形的形式 [英] DESPERATE: Focussless form

查看:68
本文介绍了绝望:无形的形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道我必须做些什么才能防止表格永远地获得焦点?


我尝试使用IMessageFilter界面像这样:


public bool PreFilterMessage(参考留言m)

{

返回true;

}


这几乎所有消息都被处理了但该死的焦点

仍然在表格中。

解决方案

您是否试图覆盖表单的焦点行为?


我试过覆盖一个很多事情,你的意思是什么?表格'的重点是b $ b行为,你能更具体一点吗?


" Tasos Vogiatzoglou <电视***** @ gmail.com>在消息中写道

news:11 ********************** @ j55g2000cwa.googlegr oups.com ...

您是否尝试覆盖表单的焦点行为?



Form.CanFocus


Anyone knows what in the world do I have to do to prevent a form from ever
getting the focus?

I tried using the IMessageFilter interface like this.:

public bool PreFilterMessage(ref Message m)
{
return true;
}

This stoped pretty much all messages from being processed but the damn focus
still goes to the form.

解决方案

Have you tried to override the the form''s focus behavior ?


I tried overriding a lot of things, what do you mean by "the form''s focus
behavior", could you be a little more specific?

"Tasos Vogiatzoglou" <tv*****@gmail.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com...

Have you tried to override the the form''s focus behavior ?



Form.CanFocus


这篇关于绝望:无形的形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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