Graphics或Bitmap对象中的控件appereance。 [英] The control appereance in a Graphics or Bitmap object.

查看:59
本文介绍了Graphics或Bitmap对象中的控件appereance。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否将消息发布到了错误的新闻组?





这个问题是不是很明显?
< br b> b b b b b b b b b b b b b b b b b b b b b g g



Hamed

Hamed < ha *** @ raymehr.com写了留言

news:u0 ************** @ TK2MSFTNGP04.phx.gbl ...


>是否可以获取一个控件(例如一个复选框)并制作一个图形
对象或当前面的Bitmap对象控制?



控件可能隐藏在某些其他表格或其可见属性中

可能

设置为false 。我需要创建一个Bitmap或Graphics对象,其中包含

控件的外观。


问候

Hamed


Hamed < ha *** @ raymehr.com写信息

新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ...


>你好

我想为ColumnStyle实现Sparse属性所以我需要上面的
功能。
<问候



解决方案

Hamed,


如果你没有得到答案而不是重复询问为什么没有结果。

你看到在这些新闻组中有很多人试图提供帮助

可能。因此,原因应该在你自己的问题中。


有可能没有人(至少对于那个消息我)没有b
了解什么你在问。


最好是在同一个帖子中重新改写你的信息。


人们也应该避免那些不喜欢的人对回复没有任何反应,

因为通常人们会给出一个问题并且不再支付任何关于给定答案和已完成的工作的b
那个..


你现在写的这种消息是没有意义而且不喜欢

新闻组,什么可以得到你得到的结果回答。


我希望这会给你一些帮助,


Cor


" Hamed" ; < ha *** @ raymehr.comschreef在bericht

新闻:u5 ************** @ TK2MSFTNGP03.phx.gbl ...


我是否将消息发布到错误的新闻组?





问题是这么多的策略?


请有人恳请我加入真正的新闻组或资源吗?


最好的问候

Hamed


Hamed < ha *** @ raymehr.com写了留言

news:u0 ************** @ TK2MSFTNGP04.phx.gbl ...


>>是否可以获得一个控件(例如一个复选框)并制作一个Graphics
对象或一个Bitmap对象当前面对的控制?


控件可能隐藏在某些其他表单下,或者其Visible属性可能被设置为false。我需要创建一个Bitmap或Graphics对象来保存
控件的外观。

问候
Hamed

" Hamed" ; < ha *** @ raymehr.com写了留言
新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ...
< blockquote class =post_quotes>
>> Hello

我想为ColumnStyle实现Sparse属性,所以我需要上面的
功能。

问候





如果你想要一个位图在Control中,调用DrawToBitmap方法。创建一个与Control相同大小的

位图,并调用DrawToBitmap方法,

传递位图,以及Bounds of它的位图。


-

HTH,


Kevin Spencer

微软MVP

鸡肉沙拉手术


橘子你平淡无奇我停止了香蕉的推广?

Hamed < ha *** @ raymehr.com写了留言

news:u5 ************** @ TK2MSFTNGP03.phx.gbl ...


我是否将消息发布到错误的新闻组?





问题是这么多的策略?


请有人恳请我加入真正的新闻组或资源吗?


最好的问候

Hamed


Hamed < ha *** @ raymehr.com写了留言

news:u0 ************** @ TK2MSFTNGP04.phx.gbl ...


>>是否可以获得一个控件(例如一个复选框)并制作一个Graphics
对象或一个Bitmap对象当前面对的控制?


控件可能隐藏在某些其他表单下,或者其Visible属性可能被设置为false。我需要创建一个Bitmap或Graphics对象来保存
控件的外观。

问候
Hamed

" Hamed" ; < ha *** @ raymehr.com写了留言
新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ...
< blockquote class =post_quotes>
>> Hello

我想为ColumnStyle实现Sparse属性,所以我需要上面的
功能。

问候





Cor


我在使用新闻组方面有部分新意。对不起,如果这困扰你或任何其他

其他在这里。我只是想知道我是否将问题发送到了错误的

的地方。情况就是这样。


无论如何,我试着进一步描述两个线程中的问题:


我正在开发一个包含一个的ColumnStyle自定义控件(按钮或

数字向下或其他)


我想创建一个属性,如果设置为true(我将其命名为稀疏属性)

网格的所有单元格都是由该控件的面部绘制的。由于我们

应该实现Paint方法,我希望能够在网格中绘制我的

自定义控件的面。


现在上述问题的解决方案是什么?


问候

Cor Ligthert [MVP]" < no ************ @ planet.nlwrote in message

news:uI **************** @ TK2MSFTNGP04 .phx.gbl ...


Hamed,


如果你没有得到答案而不是重复询问为什么没有结果。

你看,在这些新闻组中,很多人都试图提供尽可能多的帮助。因此,原因应该在你自己的问题中。


有可能没有人(至少对于那个消息我)没有b
了解什么你在问。


最好是在同一个帖子中重新改写你的信息。


人们也应该避免那些不喜欢的人对回复没有任何反应,

因为通常人们会给出一个问题并且不再支付任何关于给定答案和已完成的工作的b
那个..


你现在写的这种消息是没有意义而且不喜欢

新闻组,什么可以得到你得到的结果回答。


我希望这会给你一些帮助,


Cor


" Hamed" ; < ha *** @ raymehr.comschreef在bericht

新闻:u5 ************** @ TK2MSFTNGP03.phx.gbl ...


>我是否将消息发布到错误的新闻组?



这个问题是不是很激烈? />
有人请将我引导到一个真正的新闻组或资源吗?

最好的问候
Hamed

" Hamed" < ha *** @ raymehr.com写了留言
新闻:u0 ************** @ TK2MSFTNGP04.phx.gbl ...


>>>是否可以获取控件(例如复选框)并制作控件当前面的图形对象或位图对象?

控件可能隐藏在某些其他形式下,或者其Visible属性可能被设置为false。我需要创建一个Bitmap或Graphics对象来保存
控件的外观。

问候
Hamed

" Hamed" ; < ha *** @ raymehr.com写了留言
新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ..
你好

我想为ColumnStyle实现Sparse属性,所以我需要上面的
功能。

问候





Have I posted the message to wrong newsgroup?

Or

Does the question is so much strage?

Would someone please kindly direct me to a true newsgroup or resource?

Best Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:u0**************@TK2MSFTNGP04.phx.gbl...

>Is it possible to get a control (e.g. a checkbox) and make a Graphics
object or a Bitmap object of current face of the control?


The control may be hidden under some other forms or its Visible property
may
be set to false. I need to make a Bitmap or Graphics object that holds the
appearance of the control.
Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...

>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality.

Regards



解决方案

Hamed,

If you don''t get an answer than has repeatly asking why that is no result.
You see that in these newsgroups many people try to help as much as
possible. The reason should therefore be in your own question.

There is a chance that nobody (at least for that message me) don''t
understand what you are asking.

Better is than to rephrase your message again in the same thread.

As well do people avoid persons who don''t give any reaction on replies,
because often people place a question and don''t pay any attention than
anymore to the given answers and the work that has done by that..

This kind of messages you write now is without sence and not liked in
newsgroups, what can give the result that you get not any answer anymore.

I hope this gives some help,

Cor

"Hamed" <ha***@raymehr.comschreef in bericht
news:u5**************@TK2MSFTNGP03.phx.gbl...

Have I posted the message to wrong newsgroup?

Or

Does the question is so much strage?

Would someone please kindly direct me to a true newsgroup or resource?

Best Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:u0**************@TK2MSFTNGP04.phx.gbl...

>>Is it possible to get a control (e.g. a checkbox) and make a Graphics
object or a Bitmap object of current face of the control?


The control may be hidden under some other forms or its Visible property
may
be set to false. I need to make a Bitmap or Graphics object that holds
the
appearance of the control.
Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...

>>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality.

Regards





If you want a Bitmap of the Control, call the DrawToBitmap method.Create a
Bitmap of the same size as the Control, and call the DrawToBitmap method,
passing the Bitmap, and the Bounds of the Bitmap to it.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?
"Hamed" <ha***@raymehr.comwrote in message
news:u5**************@TK2MSFTNGP03.phx.gbl...

Have I posted the message to wrong newsgroup?

Or

Does the question is so much strage?

Would someone please kindly direct me to a true newsgroup or resource?

Best Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:u0**************@TK2MSFTNGP04.phx.gbl...

>>Is it possible to get a control (e.g. a checkbox) and make a Graphics
object or a Bitmap object of current face of the control?


The control may be hidden under some other forms or its Visible property
may
be set to false. I need to make a Bitmap or Graphics object that holds
the
appearance of the control.
Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...

>>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality.

Regards





Cor

I am partially new in using newsgroups. sorry if this bothered you or any
other here. I just wanted to know if I am sending the question to a wrong
place or not. this is the case.

Anyway, I try to describe the problem in both threads further:

I am developing a ColumnStyle that holds a custom control ( a button or a
numeric up down or something else )

I want to make a property that if set to true (I name it Sparse property)
all cells of the grid is painted by the face of that control. Since we
should implement the Paint method, I want to be able to paint the face of my
custom control in the grid.

Now what is the solution for the above problem?

Regards
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:uI****************@TK2MSFTNGP04.phx.gbl...

Hamed,

If you don''t get an answer than has repeatly asking why that is no result.
You see that in these newsgroups many people try to help as much as
possible. The reason should therefore be in your own question.

There is a chance that nobody (at least for that message me) don''t
understand what you are asking.

Better is than to rephrase your message again in the same thread.

As well do people avoid persons who don''t give any reaction on replies,
because often people place a question and don''t pay any attention than
anymore to the given answers and the work that has done by that..

This kind of messages you write now is without sence and not liked in
newsgroups, what can give the result that you get not any answer anymore.

I hope this gives some help,

Cor

"Hamed" <ha***@raymehr.comschreef in bericht
news:u5**************@TK2MSFTNGP03.phx.gbl...

>Have I posted the message to wrong newsgroup?

Or

Does the question is so much strage?

Would someone please kindly direct me to a true newsgroup or resource?

Best Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:u0**************@TK2MSFTNGP04.phx.gbl...

>>>Is it possible to get a control (e.g. a checkbox) and make a Graphics
object or a Bitmap object of current face of the control?

The control may be hidden under some other forms or its Visible property
may
be set to false. I need to make a Bitmap or Graphics object that holds
the
appearance of the control.
Regards
Hamed
"Hamed" <ha***@raymehr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl.. .
Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality.

Regards





这篇关于Graphics或Bitmap对象中的控件appereance。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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