PDA

Click to See Complete Forum and Search --> : Label needs to be topmost control....


Inhumanoid
Jan 19th, 2000, 06:49 PM
I want to display a label on top of a listview. but when I try it goes behind the listview...

Joacim Andersson
Jan 19th, 2000, 06:54 PM
The label and image controls are not dirived from any of Windows own controls but created by VB itself. This make them "windowless" and can't be ontop of a window control (a control that has a hWnd property).

What you can do, however, is to put the label in a container object, like a PictureBox and put the PictureBox ontop of the ListView control.

Good luck!

------------------
Joacim Andersson
joacim@programmer.net
joacim@yellowblazer.com
www.YellowBlazer.com (http://www.YellowBlazer.com)




[This message has been edited by Joacim Andersson (edited 01-20-2000).]