[.net] GDI+ Draw Order

Started by
0 comments, last by the-beast 18 years ago
Hi, This may seam like a stupid question but I can not for the life of me figure out how to draw GDI+ stuff (rectangles, lines etc) over the top of standard form controls that are held in a splitter control. At the moment I have tried putting the drawing commands into overridden OnPaint() and splitContainer1_Panel1_Paint() functions but this does not work, presumably because the form controls are drawn after these functions have finishe. Any help will be greatly appreciated. Thanks.
Advertisement
Figured it out. I was not using the split containers paint event.

D'oh!

private void splitContainer1_Panel1_Paint(object sender, PaintEventArgs e)

This topic is closed to new replies.

Advertisement