all groups > dotnet drawing api > april 2006 > threads for april 22 - 28, 2006
Filter by week: 1 2 3 4 5
DrawString - Simple, yet very annoying
Posted by Marko Binic at 4/28/2006 5:38:31 PM
Hi, I've been trying to do a really simple thing with the GDI+ DrawString
method - draw wrapped text in a "proposed" rectangle - that means that the
text should wrap as soon as it (b)reaches the rectangles right edge, but not
have sliced words. But I've been getting really strange results, lik... more >>
AccessViolationException
Posted by Nat at 4/28/2006 12:40:07 AM
I sometimes got some AccessViolationException from System.Drawing.dll. It
doesn't happen everytime but it happens like once a day. Is it a known issue
in .NET 2.0? I've never got this kind of exception in .NET 1.1 (even NullReferenceException)
System.AccessViolationException: Attempted to rea... more >>
drawing a border around a region
Posted by PJ6 at 4/27/2006 6:24:35 PM
I have a region that was created by cloning one, and excluding another.
How do I draw a border around this new region? There is no graphics path.
Paul
... more >>
is hardware acceleration support coming for GDI+?
Posted by PJ6 at 4/27/2006 2:38:44 PM
This is going to be a big issue for me in the future - do I invest the time
to learn managed DirectX, or can I stick with GDI+ and wait for hardware
acceleration support to be added later?
Paul
... more >>
Bitmap.MakeTrasnparent makes background black when saving from clipboard
Posted by BIG_j at 4/27/2006 12:00:00 AM
I have dynamic image(s) on the clipboard that I need to save as a
transparent gif. There are a number of posts regarding MakeTransparent but I
cannot get this to work for what I am trying to do. I am NOT loading the
picture into a form and there are no paint events to consider. All images
have a... more >>
How do I download code from wellformed?
Posted by Shawn B. at 4/26/2006 1:24:33 PM
Greetings,
I just no noticed Wellformed.net and was wondering how to download the code
samples?
Also, will there be future editions?
Thanks,
Shawn
... more >>
How to transform ClipRectangle?
Posted by jeremy.m.johnson NO[at]SPAM gmail.com at 4/26/2006 11:42:38 AM
In my OnPaint method I'm applying scale and translate transformations
(Graphics.TranslateTransform and Graphics.ScaleTransform) to my
graphics, however I don't see a clean solution to for applying this
transformation to the ClipRectangle. The clip rectangle isn't
particuarly useful until it's b... more >>
Drawing a rectangle anywhere on the desktop
Posted by Stupid48 at 4/26/2006 10:43:32 AM
I have read many many articles on drawing in .net but I guess the
wording i'm using to search is not correct.
I have a form that when I hit a button, I would like to hide the form
and be able to use the mouse to select a rectangle anywhere on the
screen (windows desktop) and get the height, wi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Interesting flickering problem if application's user control is invalidated by external application (e.g. Notepad)
Posted by sasifiqbal NO[at]SPAM gmail.com at 4/26/2006 7:50:54 AM
Hi,
One of my developers are facing an interesting problem regarding
UserControl invalidation.
The problem is:
We have two forms in our application. Form A does nothing except
loading of Form B and Form B contains an array of UserButton kind of
contol (we have created our own buttons deriv... more >>
Charting Using VB.NET
Posted by Rajesh.k at 4/26/2006 12:00:00 AM
Hi all,
Can anyone help me in creating a statastical Graph(Bar/Pie charts) using =
..Net???
Thanks in advance.
--=20
Warm Regards,
=20
Rajesh.K
Programmer,
iInterchange Systems Pvt. Ltd.,
V S & B Nitekan, Y Block,
New No.8, Old No. 50,9 th street,
AnnaNagar,
Chennai - 600 040, India... more >>
Question about WM_NCPAINT
Posted by Shawn B. at 4/25/2006 10:37:43 PM
Greetings,
I'm creating a series of custom controls that derive from either UserControl
or Control. I want to draw my own border based on the DrawBorder3D(). Is
it necessary to capture WM_NCPAINT event in these cases?
If not, then what is the best approach. Assuming I don't need to hand... more >>
Custom Scrollbars and WinXP Themes
Posted by Shawn B. at 4/25/2006 10:07:59 PM
Greetings,
How do I make a custom (derived from Control) Scrollbar (or other control)
participate in the WinXP theme schemes?
Thanks,
Shawn
... more >>
scaling an image in a picturebox
Posted by Lee Crabtree at 4/25/2006 2:30:20 PM
I have a PictureBox control on a form that displays a bitmap. However,
the bitmap rarely matches the size of the PictureBox. The different
SizeMode properties don't really do it for me. In one case, it changes
the size of the PictureBox itself, making it larger than the form. In
another,... more >>
Custom Border Problems
Posted by Shawn B. at 4/24/2006 12:30:43 AM
Greetings,
I'm creating a custom control that should paint a custom border from the
DrawBorder3D method. I'm subclassing WndProc and capturing the WM_NCPAINT
message as follows (pardon my brevity):
public event System.Windows.Forms.PaintEventHandler NonClientPaint;
protected virtual ... more >>
how to draw a vertical line
Posted by thecoolone at 4/22/2006 1:14:13 PM
i have an home page that contains many controls and links.
i wud like to group all these on the left side of the page and
partation it from the rest
of the page using a vertical line.
So is there any way in C# , ASP .NET to draw a vertical line.
Like how there is a drag n drop for horizonta... more >>
Need a free (or open source) diagraming component.
Posted by Afshar Mohebbi at 4/22/2006 8:03:18 AM
Hi All,
A need for a diagraming component again. I need one of them that is
free or open source and don' know where I can find one.
I need it for drawing some Business Diagram that is consisted of
several Circle and Arrows. Circles may have an loop on theirselve. It's
the basic that I need now.... more >>
number of colors?
Posted by Lore Leunoeg at 4/22/2006 12:39:19 AM
Hello
How can I get the number of colors used in a jpg or a bmp or a raw image
with dotnet c#? Any hint?
Thank you
Sincerely
Lore
... more >>
|