Clippping Regions in PaintEventArgs is width=0, height=0?...

Hello,

I have a number of panels contained in another panel contained in a user control. I have each subpanel hooked up to a paint handler for the Paint event.

I seem to have broken something. When I enter the PaintHandler, the clipping rectangle is 0 high and 0 wide, so nothing is drawn.

Why is this happening

Sincerely,
Buzzby


Answer this question

Clippping Regions in PaintEventArgs is width=0, height=0?...

  • mmtbb

    Could you post your code   I doubt I'll be able to get the exact result you did by just adding controls.

    -- bryan

  • Clippping Regions in PaintEventArgs is width=0, height=0?...