Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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

Here's what I'm up to.
  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...