473,786 Members | 2,578 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The graphic face of a control

Hello

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?

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

Regards
Aug 14 '06 #1
3 1264
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
functionality.

Regards


Aug 14 '06 #2
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
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******* *******@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
>
>



"Hamed" <ha***@raymehr. comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hello

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?

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

Regards


Aug 15 '06 #4

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

Similar topics

1
3062
by: entoone | last post by:
print "\t\t<td><bgcolor=#000000><font color=#000000 font color=#000000 face=Tahoma size=2 ><A href='show.php?searchid=$line'>More Info</td>\n"; How would I subsittue text for a graphic in php, using a print statement? I'm trying to have a graphic be inserted in place of the More Info text. The graphic name is 2.gif
1
1537
by: Peter | last post by:
Can someone show me an example of how to add a graphic to one or more days in the calendar control? I would like to add a plus sign graphic to each weekday in the calendar where use can click on this graphic to add and event. (preferably in c#) Thanks Peter
2
3701
by: David Scemama | last post by:
Hi, I'm looking for a way to display semi graphic characters in a multi line text control or in a rich text control. I've tried with all the characters of the extended ASCII table (code page 437), they appear correctly except the semi graphic ones. Please help ... Thanks a lot
1
5721
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out of a Microsoft book, "Visual Basic,Net Step by Step" in Chapter 18. All but the bottom two subroutines will open a text file, and then allow me to use the above controls, example 1. The bottom two subroutines will print a graphic file, example...
5
2689
by: Simon Friso | last post by:
Hello, I'm looking for a graphic control I can use in .NET. I need the following features: - drawing shapes - filling shapes with color, gradient or texture - drawing splines, arcs and curves - present the drawings on a graphical map (jpg)
3
1132
by: Hamed | last post by:
Hello 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? I want to implement Sparse property for a ColumnStyle so I need above functionality. Regards
8
10178
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background however shows white as the PictureBox moves but I want it to be transparent. The PictureBox BackColor is set to Transparent .. but no affect. I have used PhotoShop to make the image background transparent .. again no affect. If I make the image a...
6
2650
by: MLH | last post by:
I have a small bitmap graphic on a report. I would like to set it's Visible property to True whe the value of a certain field on the report is True. Can I do that? I have tried in the OnFormat event code... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me!ThreeBucks = True Then Me!ThreeDollarRansomNote.Visible = True Else Me!ThreeDollarRansomNote.Visible = False
4
1528
by: Jonathan Wood | last post by:
I've figured out how to create an image on the fly on my Website. Once created, I write the image to the page using code like this: Bitmap bm = Response.ContentType = "image/jpeg"; bm.Save(Response.OutputStream, ImageFormat.Jpeg); The code I have does indeed display the graphic, but the page shows nothing else. I need to write the image to a location within my Web page.
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9496
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
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...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8989
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...
0
6745
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
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3669
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.