473,770 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The control appereance in a Graphics or Bitmap object.

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******** ******@TK2MSFTN GP04.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******** ********@TK2MSF TNGP02.phx.gbl. ..
>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionalit y.

Regards



Aug 14 '06 #1
15 1851
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******** ******@TK2MSFTN GP03.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******** ******@TK2MSFTN GP04.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******* *********@TK2MS FTNGP02.phx.gbl ...
>>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality .

Regards




Aug 14 '06 #2
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******** ******@TK2MSFTN GP03.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******** ******@TK2MSFTN GP04.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******* *********@TK2MS FTNGP02.phx.gbl ...
>>Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionality .

Regards




Aug 14 '06 #3
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******** ********@TK2MSF TNGP04.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******** ******@TK2MSFTN GP03.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******* *******@TK2MSFT NGP04.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****** **********@TK2M SFTNGP02.phx.gb l...
Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionalit y.

Regards




Aug 15 '06 #4
Hamed,

It becomes more clear, only there are AFAIK 5 types of Grid's in dotNet,
which one is the one you want to inherit? Not that I know it, but I know
active people in this newsgroup who have done a lot with this kind of stuff.

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:ue******** ******@TK2MSFTN GP06.phx.gbl...
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******** ********@TK2MSF TNGP04.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******* *******@TK2MSFT NGP03.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****** ********@TK2MSF TNGP04.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***** ***********@TK2 MSFTNGP02.phx.g bl...
Hello
>
>
I want to implement Sparse property for a ColumnStyle so I need above
functionali ty.
>
Regards
>
>




Aug 15 '06 #5
I want to inherit my ColumnStyle from
System.Windows. Forms.DataGridC olumnStyle

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Hamed,

It becomes more clear, only there are AFAIK 5 types of Grid's in dotNet,
which one is the one you want to inherit? Not that I know it, but I know
active people in this newsgroup who have done a lot with this kind of
stuff.

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:ue******** ******@TK2MSFTN GP06.phx.gbl...
>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******* *********@TK2MS FTNGP04.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****** ********@TK2MSF TNGP03.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***** *********@TK2MS FTNGP04.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
appearanc e of the control.
>
>
Regards
Hamed
>
>
"Hamed" <ha***@raymehr. comwrote in message
news:%2**** ************@TK 2MSFTNGP02.phx. gbl...
>Hello
>>
>>
>I want to implement Sparse property for a ColumnStyle so I need above
>functional ity.
>>
>Regards
>>
>>
>
>
>
>




Aug 15 '06 #6
Hamed,

Maybe you can find on this page some stuff that can help you. (It is VB but
that is for most people easily to translate in C# stuff, as far as I could
see is there in the code no part of the VB extensions on the framework
used).

http://www.vb-tips.com/dbpages.aspx?...2-d85153e86736

And you were right, you missed the most propitiate newsgroup for this
question.

Microsoft.publi c.dotnet.framew ork.adonet
and the special datagrid newsgroups, but those are mainly inactive.

As I wrote this is not my stuff, Ken is active in the VB newsgroups and
forums, as you ask it there as well, will your question than of course be
answered as well in VB code.

I hope this helps,

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
>I want to inherit my ColumnStyle from
System.Windows .Forms.DataGrid ColumnStyle

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** **********@TK2M SFTNGP02.phx.gb l...
>Hamed,

It becomes more clear, only there are AFAIK 5 types of Grid's in dotNet,
which one is the one you want to inherit? Not that I know it, but I know
active people in this newsgroup who have done a lot with this kind of
stuff.

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:ue******* *******@TK2MSFT NGP06.phx.gbl.. .
>>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****** **********@TK2M SFTNGP04.phx.gb l...
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***** *********@TK2MS FTNGP03.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**** **********@TK2M SFTNGP04.phx.gb l...
>>Is it possible to get a control (e.g. a checkbox) and make a
>>Graphic s
>>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
>appearan ce of the control.
>>
>>
>Regards
>Hamed
>>
>>
>"Hamed" <ha***@raymehr. comwrote in message
>news:%2*** *************@T K2MSFTNGP02.phx .gbl...
>>Hello
>>>
>>>
>>I want to implement Sparse property for a ColumnStyle so I need
>>above
>>functiona lity.
>>>
>>Regards
>>>
>>>
>>
>>
>>
>>
>
>




Aug 15 '06 #7
Kevin

Thanks for suggestion but this method is new in the .NET Framework version
2.0

Unfortunately I am using .NET Framework version 1.1

Is there a solution for me in .NET Framework version 1.1 ?

Regards

"Kevin Spencer" <uc*@ftc.govwro te in message
news:u2******** ********@TK2MSF TNGP03.phx.gbl. ..
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******** ******@TK2MSFTN GP03.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******* *******@TK2MSFT NGP04.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****** **********@TK2M SFTNGP02.phx.gb l...
Hello
I want to implement Sparse property for a ColumnStyle so I need above
functionalit y.

Regards




Aug 15 '06 #8
Cor

I need simply a sparse property that I want to make in my inherited
DataGridColumnS tyle class

What you mentioned is a DataGrid ColumnStyle that shows images. The code the
I need is to make the bitmap from the control.

Suppose I have a hidden TrackBar that I want to show in the column of the
DataGrid. I want to make a Bitmap object from the TrackBar (that is hidden)
and paint the Bitmap in each cell.
How can I make a Bitmap object from the appereance of the control?
Regards

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hamed,

Maybe you can find on this page some stuff that can help you. (It is VB
but that is for most people easily to translate in C# stuff, as far as I
could see is there in the code no part of the VB extensions on the
framework used).

http://www.vb-tips.com/dbpages.aspx?...2-d85153e86736

And you were right, you missed the most propitiate newsgroup for this
question.

Microsoft.publi c.dotnet.framew ork.adonet
and the special datagrid newsgroups, but those are mainly inactive.

As I wrote this is not my stuff, Ken is active in the VB newsgroups and
forums, as you ask it there as well, will your question than of course be
answered as well in VB code.

I hope this helps,

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
>>I want to inherit my ColumnStyle from
System.Window s.Forms.DataGri dColumnStyle

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******* ***********@TK2 MSFTNGP02.phx.g bl...
>>Hamed,

It becomes more clear, only there are AFAIK 5 types of Grid's in dotNet,
which one is the one you want to inherit? Not that I know it, but I know
active people in this newsgroup who have done a lot with this kind of
stuff.

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:ue****** ********@TK2MSF TNGP06.phx.gbl. ..
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***** ***********@TK2 MSFTNGP04.phx.g bl...
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
understan d 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
newsgroup s, 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**** **********@TK2M SFTNGP03.phx.gb l...
>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*** ***********@TK2 MSFTNGP04.phx.g bl...
>>>Is it possible to get a control (e.g. a checkbox) and make a
>>>Graphi cs
>>>object or a Bitmap object of current face of the control?
>>>
>>The control may be hidden under some other forms or its Visible
>>propert y may
>>be set to false. I need to make a Bitmap or Graphics object that
>>holds the
>>appearanc e of the control.
>>>
>>>
>>Regards
>>Hamed
>>>
>>>
>>"Hamed" <ha***@raymehr. comwrote in message
>>news:%2** **************@ TK2MSFTNGP02.ph x.gbl...
>>>Hello
>>>>
>>>>
>>>I want to implement Sparse property for a ColumnStyle so I need
>>>above
>>>function ality.
>>>>
>>>Regard s
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>




Aug 15 '06 #9
Hamed,

As I said it is not my code, but a quick look in it shows me this. (I have
made two conversions to C# to show how easy it is to read VB as C# the rest
is almost adding some (), {} and the ; and removing the end clauses.

Dim bm As Bitmap
In C# this is
Bitmap bm;

If TypeOf objData Is String Then
Dim fs As New FileStream(objD ata.ToString,
FileMode.Open)
in C# this is
FileStream fs = new FileStream(objD ataToString, FileMode.Open);

bm = CType(Bitmap.Fr omStream(fs), Bitmap)
fs.Close()
Else
Try
bm = ConvertToBitmap (DirectCast(obj Data, Byte()),
78)
Catch
bm = ConvertToBitmap (DirectCast(obj Data, Byte()), 0)
End Try
End If
Dim h As Integer
Dim s As Double

Here is an image converted to a bitmap, so in my idea should using a bitmap
direct not change this code very much. However as I said in other words
already, bitmaps are not my favorite sport.

Cor

"Cor Ligthert [MVP]" <no************ @planet.nlschre ef in bericht
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hamed,

Maybe you can find on this page some stuff that can help you. (It is VB
but that is for most people easily to translate in C# stuff, as far as I
could see is there in the code no part of the VB extensions on the
framework used).

http://www.vb-tips.com/dbpages.aspx?...2-d85153e86736

And you were right, you missed the most propitiate newsgroup for this
question.

Microsoft.publi c.dotnet.framew ork.adonet
and the special datagrid newsgroups, but those are mainly inactive.

As I wrote this is not my stuff, Ken is active in the VB newsgroups and
forums, as you ask it there as well, will your question than of course be
answered as well in VB code.

I hope this helps,

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
>>I want to inherit my ColumnStyle from
System.Window s.Forms.DataGri dColumnStyle

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******* ***********@TK2 MSFTNGP02.phx.g bl...
>>Hamed,

It becomes more clear, only there are AFAIK 5 types of Grid's in dotNet,
which one is the one you want to inherit? Not that I know it, but I know
active people in this newsgroup who have done a lot with this kind of
stuff.

Cor

"Hamed" <ha***@raymehr. comschreef in bericht
news:ue****** ********@TK2MSF TNGP06.phx.gbl. ..
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***** ***********@TK2 MSFTNGP04.phx.g bl...
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
understan d 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
newsgroup s, 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**** **********@TK2M SFTNGP03.phx.gb l...
>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*** ***********@TK2 MSFTNGP04.phx.g bl...
>>>Is it possible to get a control (e.g. a checkbox) and make a
>>>Graphi cs
>>>object or a Bitmap object of current face of the control?
>>>
>>The control may be hidden under some other forms or its Visible
>>propert y may
>>be set to false. I need to make a Bitmap or Graphics object that
>>holds the
>>appearanc e of the control.
>>>
>>>
>>Regards
>>Hamed
>>>
>>>
>>"Hamed" <ha***@raymehr. comwrote in message
>>news:%2** **************@ TK2MSFTNGP02.ph x.gbl...
>>>Hello
>>>>
>>>>
>>>I want to implement Sparse property for a ColumnStyle so I need
>>>above
>>>function ality.
>>>>
>>>Regard s
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>




Aug 15 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
6200
by: Sagaert Johan | last post by:
I have made a custom control that draws a rectangle when the mouse is down, and does nothing when the mouse is up. I set/reset a flag in MouseDown/Mouse up and use this to do the drawing in the OnPaint . The recangle draws correct when i press the mouse, but when i release the mouse the background is not restored What should i do in the Onpaint to make sure the background (the form) is restored correctly ? This problem already keeps...
9
7382
by: Kevin | last post by:
I would like to print the panel control. The panel controls contains images and lables. If i can capture as image i can use it for other purposes like Zooming etcc.. Any body have any idea ,,, ?
7
2024
by: Dennis | last post by:
I am trying to implement drawing on a bitmap and using bitblt to transfer it to the control graphics object in the paint event. It seems to draw on the bitmap ok but doesn't get transferred to the control graphics object in the paint event. Any help would be appreciated. Here is my code: public class as mycontrol Private Declare Auto Function BitBlt Lib "GDI32.DLL" (ByVal hdcDest As IntPtr, ByVal nxDest As Integer, ByVal nyDest As...
15
1376
by: Hamed | last post by:
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
0
10232
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10059
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8891
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.