Custom panel

  • Thread starter Thread starter Bill Merrill
  • Start date Start date
B

Bill Merrill

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,

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" <[email protected]>

....
 
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??

Cor Ligthert said:
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" <[email protected]>

...
 
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/c...?dg=microsoft.public.dotnet.framework.drawing

I hope that these links help?

Cor


Bill Merrill said:
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??
 
Back
Top