Results 1 to 2 of 2

Thread: BitBlt From ImageBox

Threaded View

  1. #1

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    BitBlt From ImageBox

    Here is a small code sample on how you can fake doing a BitBlt from an ImageBox
    You could alternatively BitBlt from the ImageBox if you'd like.

    The ImageBox is a lightweight control, so it does not have its owh hDc
    But, its parent does, so we use that hDc instead.

    There are many situations where this will not work, but there are also many where it will.
    You could also use this same technique for doing a BitBlt from a java applet inside a WebBrowser control for example

    The image file for use with this example can be obtained here.
    Attached Files Attached Files
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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