Results 1 to 2 of 2

Thread: BitBlt on MDI Forms

  1. #1

    Thread Starter
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241

    Post

    Hi

    I have developed some code which can tile pictures, on a standard form it works fine but on a MDI form the form stays blank. I have used getDC with the MDI's hWnd to get a Device Context.

    BitBlt returns success so is there something I am not doing?

    Any Ideas?

    Thanks for your time.

    Geoff

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    No need to get the DC using the hWnd, the MDI form has a hDC which is the same.

    I never did MDI apllications, but could be that you set Autoredraw to True, that wouldn't work.

    Hope this helps.

    Fox

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.


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