Groups | Blog | Home
all groups > dotnet general > december 2004 >

dotnet general : Custom panel


Bill Merrill
12/12/2004 10:37:46 PM
I'm having a problem with a custom-painted panel. Upon resize, it's
invalidated, and redrawn properly. It's also double-buffered so there's no
flicker.

When I resize the control during runtime, it paints fine. However, when the
control is docked, and it's parent is expanded, the child isn't properly
redrawn. It's being invalidated and OnPaint is properly called, but
sometimes the repaint doesn't actually take effect. If you gradually expand
the parent container, the custom control's border fills in the space. If
the window is then dragged out of view and back in, it repains fine.

Any thoughts or help?

Thanks in advance!

--
Bill

Bill Merrill
12/13/2004 8:38:11 AM
Actually, I can't find the newsgroup
"microsoft.public.dotnet.framework.drawing".

Is there a problem with asking about custom control problems in this group??

[quoted text, click to view]

Cor Ligthert
12/13/2004 9:24:52 AM
Bill,

Painting is not really something I like as questions. However there is a
newsgroup where you mostly get good answers on that kind of questions.

microsoft.public.dotnet.framework.drawing

In your situation and I could not find the answer myself, than I would try
it there

Cor

"Bill Merrill" <bill@soniccube.com>

....
[quoted text, click to view]

Cor Ligthert
12/13/2004 9:45:45 AM
Bill,

There is not any problem for me whatever you ask here, I only tell you that
you have probably a better/quicker change to get an answer on your question
in that newsgroup.

Drawing
news://msnews.microsoft.com/microsoft.public.dotnet.framework.drawing

Web interface:
http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.dotnet.framework.drawing

I hope that these links help?

Cor


"Bill Merrill" <bill@soniccube.com> schreef in bericht
news:Txcvd.4113$lZ6.2244@trnddc02...
[quoted text, click to view]

AddThis Social Bookmark Button