Results 1 to 2 of 2

Thread: Paint a textbox onto a form

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    2

    Paint a textbox onto a form

    I'm trying to bitblt a form that is hidden. If I turn autoredraw on I can blt the form, and see the lines and text I created using the .line and .text methods on the form, but I cannot see any controls. The only control I need is the textbox. does anyone know how I can "paint" the textbox control onto the form so that I can bitblt a hidden form and capture the textbox as well?
    Thanks
    Kev

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    You probably need to blt the child controls as well...try EnumChildWindows and GetDC in a loop?
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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