Does anyone know how to get a VB Label controls window handle?
Thanks in advance
:)
Printable View
Does anyone know how to get a VB Label controls window handle?
Thanks in advance
:)
I think VB directly draws these onto the form, rather than use a API EDIT window, to conserve resources.
yep, labels don't have window handles, sorry!
What are you trying to do? Perhaps as a work around, you could use a PictureBox?
OR ... you could do your very own CreateWindowEx thing and create a STATIC control on your form. Then SendMessage it the text you want it to carry.
A "PictureBox" is to a "Static" as a "TextBox" is to an "Edit."
In other words, a PictureBox is a just VB's version of a Static.