PDA

Click to See Complete Forum and Search --> : Paint a textbox onto a form


APIlearner
Feb 22nd, 2002, 06:39 PM
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

MerrionComputin
Feb 23rd, 2002, 02:43 PM
You probably need to blt the child controls as well...try EnumChildWindows and GetDC in a loop?