WndProc中没有可见的形式? [英] WndProc with no visible form?

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

问题描述

我想创建的第二个线程的形式,将收到的消息,在它的WndProc方法。什么是推荐的方式来创建这样一个无形的形式?是设置ShowInTaskbar =假和可见=假不够,还是有一个干净的方式?

I want to create a form on a second thread that will receive messages in it's WndProc method. What is the recommended way to create an invisible form like this? Is setting "ShowInTaskbar=false" and "Visible=false" enough, or is there a "cleaner" way?

推荐答案

我不知道你所说的干净的意思。该标准的方法来创建一个形式,是用户看不到的是设置可见和ShowInTaskbar为false。

I'm not sure what you mean by "cleaner". The standard way to create a form that is invisible to the user is to set Visible and ShowInTaskbar to false.

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

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