| Thread | Last Post | Replies |
|
| Weird problem when re-painting form while moving it outside of the screen! | 30 Sep 2005 17:15 GMT | 13 |
I've been struggling with this problem for days on and off. Hopefully somebody has some insight in this. I have a usercontrol which is placed on a form. When the control gets the paint event, I use a memory bitmap to draw on and then blit it back to the original DC (from the
|
| Drawing 101. | 29 Sep 2005 20:36 GMT | 3 |
I'm going some drawing via "Graphics" in a "Paint" callback and the commands will only manifest themselves if I minimise the window and then maximise it again. I'm new to windows programming and so I am obviously missing a lot of the
|
| InvalidateRect Pinvoke and C# | 29 Sep 2005 14:48 GMT | 3 |
I want to use InvalidateRect from user32.dll. It seems that it doesn't really invalidate a rectangle. The whole screen can be refreshed with InvalidateRect(IntPtr.Zero,IntPtr.Zero,true). But how can I refresh a rectangle? I need this function because I draw
|
| Adding EXIF property to JPEG | 29 Sep 2005 14:36 GMT | 3 |
I am trying to add EXIF properties to my JPEG pictures taken w/ a Canon digital camera. The fields I want to add related to GPS data. I have tried the suggestions listed at: http://www.pixvillage.com/blogs/devblog/archive/2005/03/27/176.aspx
|
| Create and save a transparent GIF - Please help | 29 Sep 2005 12:59 GMT | 3 |
Hi guys! I am back with an easy question. Pamela I have this task to do. Seems crazy but Later I will explain the reason. Can anybody provide me with a simple answer.
|
| VB.NET Font question | 28 Sep 2005 03:49 GMT | 2 |
Hi, I'm having a problem with trying to make the text of a button both bold and italic at runtime. All that i have so far is Button.Font = New Font("sans seriff", 9, FontStyle.Italic), but i need to make it bold as well as italic at the same time. Thanks a lot.
|
| font serialization | 27 Sep 2005 19:27 GMT | 4 |
i posted this erlier to the other group but got no response :( so i'm trying now this one... according to the documentation System.Drawing.Font is serializable, well at least it should be because it implements ISerializable. but when i
|
| Cropping resized images | 27 Sep 2005 15:54 GMT | 3 |
I have the following code... Bitmap bitmap = new Bitmap((int)new_width, (int)new_height, m_src_image.PixelFormat); m_graphics = Graphics.FromImage(bitmap);
|
| invalid bitmap??? | 26 Sep 2005 20:00 GMT | 2 |
i save a compressed bitmap to an image field in my sql database: ImageCodecInfo iciJPEG; foreach (ImageCodecInfo cdc in ImageCodecInfo.GetImageEncoders()) {
|
| curious about CustomControl | 26 Sep 2005 10:18 GMT | 5 |
to create my own control i need to derive from System.Windows.Forms.Control but, my control is sooooo simple - it draws only line, a separator-like line, with a custom color and width. i dont need handling any user input and do not use any fancy drawing routines nor i do not ...
|
| Panel_Paint gives NotSupported Exception | 26 Sep 2005 08:02 GMT | 2 |
I'm running a WinCE4.1 Compact Framework application using VS2003. While I run this code, I get an error saying NotSupportedException. private void panel1_Paint(object sender, PaintEventArgs e) {
|
| A Bitmap to grayscale (C#) | 24 Sep 2005 11:12 GMT | 9 |
My code is the following: public Bitmap myConvertBitmapToGrayscale( Bitmap i) { Bitmap b = new Bitmap(i.Width, i.Height,
|
| Override Paint | 24 Sep 2005 05:51 GMT | 5 |
Whenever,I use Override Paint to handle my drawings on pictureBox,I see that the form does not load and gives null argument exception. Can anyone tell what causes this?? regards
|
| recommendation | 24 Sep 2005 01:05 GMT | 5 |
I'm a beginner in graphics programming. I have the following situation: I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing. Which control to use to load the existing bitmap on o form? Will ...
|
| Problem Loading Image To Form Graphics Object | 24 Sep 2005 00:47 GMT | 3 |
I'm trying to display a PNG on a form in my VB.NET application, but it will only display a cropped portion of the image. I'm using the following: Dim gr As Graphics = Me.CreateGraphics Dim img As Image = Bitmap.FromFile(<Path to PNG file>) gr.DrawImage(img, CInt(50), CSng(50), ...
|