Drawing on top of components?
Hello all,
I'm implementing a drag-and-drop interface where colored panels in a row can be moved by dragging and dropping. I've started a solution that uses Graphics.FillRectangle and it works fine, with the exception that any other components placed on the form are on top of whatever is drawn. (Thinking about it, I'd expect this as the form's surface is what's drawn on.) How can I draw on top of them? I haven't found a way to draw directly on the screen - do I need to import some GDI calls? Do I copy the panel to an actual component and move that around?
Any help is greatly appreciated.
Jim Stanley
Media Services, Inc.
|