Images, because they're not real windows, automatically sit behind any 'real-windowed' contols on the form.
This also goes for labels and shapes.
Even zorder won't help you here.
You may need to use a picture control, copy the image control's picture into it, then hide the image control. The problem with this is of course that pictures don't do transparency or stretching easily.
Main Topics
Browse All Topics





by: v_natraj_vPosted on 2000-08-23 at 04:33:21ID: 4035426
I give you an idea:
When the user starts dragging the container you create a Shape Control at runtime and move that Shape Control as the mouse moves. When the user leave the mouse button, make that shapecontrol invisible and move your Picture box object.
I think this will solve yr problem.
Cheers !!!
Natraj