all groups > dotnet drawing api > june 2005 > threads for june 15 - 21, 2005
Filter by week: 1 2 3 4 5
Redraw problem - please help
Posted by Publicjoe at 6/21/2005 11:27:42 AM
Hi all,
I am creating a tetris clone, but I have a problem, when I change apps and
then go back to it. Any blocks sitting at the bottom of the screen do not
get redrawn until the timer goes off, It is best to run the app in order to
see the problem, I am enclosing all of the code in order to b... more >>
rectangle Intersects
Posted by Josh at 6/21/2005 12:00:00 AM
Does anyone have an opinion on the speed of the rectangle Interects?
My implementation of Pong which uses this method for collision detection
seems to suggest to relatively slow.
... more >>
I think I know why setstyle double buffering cases invalidOperationExceptions!
Posted by Garry Freemyer at 6/20/2005 12:22:45 AM
Here is some of the points and observations about my screensaver, where I am
being tortured by the InvalidOperationException raised from
System.Graphics.EndContainer(). Here is what I think is happening. Does the
stack trace below bear this out? Is there a method to tell the control when
to ... more >>
Please reply this asap---2
Posted by Pankaj Jain at 6/20/2005 12:00:00 AM
I am using .bmp files as icon in the icon directory
--
_________________________________________
Nagarro Software Pvt. Ltd.
3 Type B, Electronics City,
Sector 18, Gurgaon, India - 122015
http://www.nagarro.com
Phone (+ 91) 124 - 5016775, 2455301, 2455302, 2455303
Extn. 205
Fax (+ 91) 124... more >>
Repaint form?
Posted by Michael at 6/19/2005 4:27:01 PM
Hi!
I'm currently working on an editor form my 2D game engine which uses
polygons for collions detection. From the main form the user chose to create
a collision polygon and then an other form is show. This form is derived from
System.Windows.Forms.Form. Each time the user presses a mouse but... more >>
Using Bitmap class GetPixel and SetPixel in Format8bppIndexed pixel format
Posted by Steve at 6/19/2005 12:00:00 AM
Hi
I am new to MSVS.NET and GDI and I am attempting to create a VC++ .NET
Windows Forms App that will produce and display a bitmap.
Using the default pixel format was pretty straightforward but really I would
like the bitmap in colour indexed format for image processing use and would
lik... more >>
Offering $100 to the first person to fix this issue.
Posted by Garry Freemyer at 6/18/2005 12:02:29 PM
I've got an error on my program posted here. I can't fix it, I can't catch
it properly, I can't stop it, I can't recover from it, I can't stand it
anymore!!!
$100 to the first person to reply in the forum below my article post, with a
solution that satisfies the criteria at the end of my a ... more >>
rotating and multi page tiff
Posted by Rachel Suddeth at 6/17/2005 12:27:22 PM
I have a tiff image that I draw like this:
private void panel1_Paint(object sender, System.Windows.Forms.PaintEventArgs
e)
{
// handle null image, background painting
e.Graphics.DrawImage(bmpDoc,recDest,recSrc,GraphicsUnit.Pixel);
}
I have a method to change tiff pages which seems... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to start a borderless printing
Posted by zhaounknown at 6/17/2005 9:46:10 AM
I tried the following example in two machines and printers.
I set the DefaultPageSettings.Margins to have four magins to 0. It turns out
that the Left margin doesn't take effect.
The source code can be downloaded from
http://www.c-sharpcorner.com/Code/2003/Jan/TaxForm.asp (the source code t... more >>
How to print in full page without margins
Posted by zhaounknown at 6/17/2005 9:25:06 AM
I set the DefaultPageSettings.Margins.Left/Right/Top/Bottom to 0, it doesn't
seem to work for the Left margin for two printers (HP and Brother).
Am I missing any other properties that should be set? Thanks a lot.... more >>
Making progress on scrolling?
Posted by Steve Magoon at 6/16/2005 7:39:07 PM
Hi,
I would like to scroll an object on a panel with a fixed grid for the
background. I couldn't figure out how to use the AutoScroll feature of the
Panel tool to do this. My latest approach is to use a horizontal scroll bar
docked on the panel, using its scrolling event to invalidate the p... more >>
icons in dialogs
Posted by klumsy NO[at]SPAM xtra.co.nz at 6/15/2005 3:10:37 PM
with messagebox there are various MessageBoxIcon images.. i'm making my
own message dialog but would like access to these same images.. how can
i access them from my code, then put them in a PictureBox on my form?
... more >>
DrawRectangle problem
Posted by Siri Krishna at 6/15/2005 10:21:43 AM
Hi,
We have a custom control into which we add controls like labels and move
them at run time. The problem we have is that when a child control is
selected and moved, we draw a rectangle around it to identify it as
selected. The DrawRectangle works fine when the child controls is on left
ha... more >>
|