Results 1 to 3 of 3

Thread: Getting hDC

  1. #1

    Thread Starter
    New Member KingMoogle's Avatar
    Join Date
    Jan 2003
    Posts
    15

    Getting hDC

    Is there any way to get the hDC for objects such as Forms and PictureBoxs in VB.NET?

    I've tried using the GDI+ routines, but they don't seem very fast... I was hoping that there's some way to use bitblt as in VB6...

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    try this example which uses Hdc (what's that anyways )

    this is vb.net api declaration


    here's VB.NET version of BitBlt function :

  3. #3

    Thread Starter
    New Member KingMoogle's Avatar
    Join Date
    Jan 2003
    Posts
    15
    Yeah, i tried using the "System.Drawing.Graphics.DrawImage" thing, but it was rather slow. That's why i was hoping to get an hDC and use BitBlt.

    Thanks for the links though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width