I would like to create a box-like caret for a textbox(vb.net) . Any idea.
Sample code would be nice.
DT
"Dayne" <d_jermaine_t@hotmail.com> schrieb:
>I would like to create a box-like caret for a textbox(vb.net) . Any idea.
> Sample code would be nice.
There is no managed support for dealing with carets in the .NET Framework.
You'll have to use p/invoke to change the caret:
Carets
<URL:http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resourc
es/carets.asp>
<URL:http://pinvoke.net/> is a valuable resource when using p/invoke.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
I hope I'm not the only one that doesn't know what a "box-like caret" is
Chris
>I would like to create a box-like caret for a textbox(vb.net) . Any idea.
> Sample code would be nice.
>
> DT
Herfried K. Wagner [MVP] - 30 Nov 2004 19:01 GMT
"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com>
schrieb:
>I hope I'm not the only one that doesn't know what a "box-like caret" is
<URL:http://msdn.microsoft.com/library/en-us/winui/winui/graphics/cscrt_01.gif>
;-)

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/