|
-
Aug 23rd, 2001, 10:58 AM
#1
Thread Starter
Addicted Member
VB Label hWnd
Does anyone know how to get a VB Label controls window handle?
Thanks in advance
-
Aug 23rd, 2001, 11:10 AM
#2
Black Cat
I think VB directly draws these onto the form, rather than use a API EDIT window, to conserve resources.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Aug 23rd, 2001, 12:28 PM
#3
PowerPoster
yep, labels don't have window handles, sorry!
-
Aug 23rd, 2001, 01:32 PM
#4
What are you trying to do? Perhaps as a work around, you could use a PictureBox?
-
Aug 28th, 2001, 03:32 AM
#5
Fanatic Member
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.
-
Aug 28th, 2001, 08:52 AM
#6
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|