I have much experience with GDI and VB6.. I have read about the slow performance of GDI+ and do not even want to attempt that. I want to implement GDI in .net.. I have a lot of source regarding the creation of a dhc and such but I am still kind of confused..
So, I want to start with the basics..
Id like to create a picturebox?? .. or at least some sort of region... and for starters, lets just paint it all black .. Lets say I paint it by pressing a button on the form.. button executes the rect() fn to paint the square black..
Now, when I move the form off screen and back on, that paint is now gone? What is the solution for that? How do I implement that? Any examples you can lead me to?
I assume once I have this basic buffering step taking care of, the drawing/updating task of completing this project will be fairly simple.
Basically, I want to draw a meter... part of it is a filled rectangle, and then the other part is a numeric printout.. That stuff should be easy.. But making it stay visible when the user moves the form out of view and back on is confusing me.
Thanks.
So, I want to start with the basics..
Id like to create a picturebox?? .. or at least some sort of region... and for starters, lets just paint it all black .. Lets say I paint it by pressing a button on the form.. button executes the rect() fn to paint the square black..
Now, when I move the form off screen and back on, that paint is now gone? What is the solution for that? How do I implement that? Any examples you can lead me to?
I assume once I have this basic buffering step taking care of, the drawing/updating task of completing this project will be fairly simple.
Basically, I want to draw a meter... part of it is a filled rectangle, and then the other part is a numeric printout.. That stuff should be easy.. But making it stay visible when the user moves the form out of view and back on is confusing me.
Thanks.