Home All Groups Group Topic Archive Search About
Author
22 Sep 2006 11:28 AM
NickP
Hi there,

    I have a form with a few controls on, some of them are controls I have
made.  Anyway, when I call DrawToBitmap on the form all looks fine except
for the controls I have made, they have a strange little symbol at the
bottom right hand corner of the image.

    Any ideas on how to get rid of this so it looks like it does on the
form?

    Thanks loads in avance.

Nick.

Author
22 Sep 2006 1:26 PM
Herfried K. Wagner [MVP]
"NickP" <a@a.com> schrieb:
> I have a form with a few controls on, some of them are controls I have
> made.  Anyway, when I call DrawToBitmap on the form all looks fine except
> for the controls I have made, they have a strange little symbol at the
> bottom right hand corner of the image.

What does the symbol show?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
22 Sep 2006 2:28 PM
NickP
Hi Herfried,

    Doh!  I'm an idiot!  It was a control hidden behind another control, as
its visible property wasnt being set to false it was somehow drawing ontop
of the control in the foreground!  Sorted now anyway, thanks for your time.

Nick.

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OVfJuqk3GHA.2420@TK2MSFTNGP02.phx.gbl...
> "NickP" <a@a.com> schrieb:
>> I have a form with a few controls on, some of them are controls I have
>> made.  Anyway, when I call DrawToBitmap on the form all looks fine except
>> for the controls I have made, they have a strange little symbol at the
>> bottom right hand corner of the image.
>
> What does the symbol show?
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>