So, anyone know a good way to do this? I don't want to ever see the cursor in my textbox, which I'm using as a label, because it has a .hWnd property and labels don't.
And no, setting
.Locked = False
or
.Enabled = False
won't work.
Cheers,
RJ
Printable View
So, anyone know a good way to do this? I don't want to ever see the cursor in my textbox, which I'm using as a label, because it has a .hWnd property and labels don't.
And no, setting
.Locked = False
or
.Enabled = False
won't work.
Cheers,
RJ
http://www.vbforums.com/showthread.p...=wmlbuttondown
If you don't mind subclassing.
:)
The HideCarrot thing might do me. Does it work alright?
Everytime I've tried, it doesn't seem to work.
G'Day rj,
You mave found this already...
http://www.vbforums.com/showthread.php?threadid=80713&highlight=HideCaret+API
No, apparently it does not... :p
x-post - see above :D
Hey crptc - I believe I have solved the HideCaret conundrum. Well, it works for me anyway. I believe any (or at least some) changes to the properties of the textbox must internally invoke a ShowCaret call. If I put HideCaret after every event which changes the textbox, such things as forecolor for example, it works.
:)
Oh well, I guess trying does have its advantages...
Effort is over-rated. :cool: