Results 1 to 4 of 4

Thread: how to get hdc by vb6,api for autodraw=true?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    how to get hdc by vb6,api for autodraw=true?

    how to get hdc by hwnd with vb6
    ?

    For example, you want to draw a picture to the form of another program.
    vb CClientDC?
    Use this API or something else.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: how to get hdc by vb6,api for autodraw=true?

    Assuming I understood your question correctly you want this: http://www.jasinskionline.com/window...f/g/getdc.html. Did I get it right?

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    Re: how to get hdc by vb6,api for autodraw=true?

    getdc(form1.hand),Maybe so, but the effect after drawing seems different.

  4. #4
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,807

    Re: how to get hdc by vb6,api for autodraw=true?

    Could you explain what effect and how it's different? EDIT: and I just looked it up, "CClientDC" appears to be just a wrapper for what I just linked to.
    Last edited by Peter Swinkels; May 10th, 2021 at 05:14 AM.

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