digitalpariah Posted November 14, 2003 Posted November 14, 2003 Hello eveyone. I have a game I am trying to convert to vb.net without using direct x. I was useing imagelists to paint bitmaps and now VS 2002 won't let me. I need to find the workaround for the imagelist storage and the shape class. also what is the .NET equivalent of .hDc? any help would be helpful. Quote
Machaira Posted November 18, 2003 Posted November 18, 2003 How about an array of Bitmap objects for the ImageList? You draw on a form using the methods of a Graphics object - DrawRectangle or DrawPolygon. Create one for a form like: Dim gr As Graphics = Me.CreateGraphics Quote Here's what I'm up to.
Leaders snarfblam Posted November 19, 2003 Leaders Posted November 19, 2003 As far as the .hdc property, i dont beleive that you can get handles to device contexts in vs.net. The best you can do is use the Graphics.GetHdc() function, but the device context this returns is WRITE ONLY. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.