D Dayne Nov 30, 2004 #1 I would like to create a box-like caret for a textbox(vb.net) . Any idea. Sample code would be nice. DT
I would like to create a box-like caret for a textbox(vb.net) . Any idea. Sample code would be nice. DT
H Herfried K. Wagner [MVP] Nov 30, 2004 #2 Dayne said: I would like to create a box-like caret for a textbox(vb.net) . Any idea. Sample code would be nice. Click to expand... 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/resources/carets.asp> <URL:http://pinvoke.net/> is a valuable resource when using p/invoke.
Dayne said: I would like to create a box-like caret for a textbox(vb.net) . Any idea. Sample code would be nice. Click to expand... 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/resources/carets.asp> <URL:http://pinvoke.net/> is a valuable resource when using p/invoke.
C Chris, Master of All Things Insignificant Nov 30, 2004 #3 I hope I'm not the only one that doesn't know what a "box-like caret" is Chris
H Herfried K. Wagner [MVP] Nov 30, 2004 #4 Chris said: I hope I'm not the only one that doesn't know what a "box-like caret" is Click to expand... <URL:http://msdn.microsoft.com/library/en-us/winui/winui/graphics/cscrt_01.gif> ;-)
Chris said: I hope I'm not the only one that doesn't know what a "box-like caret" is Click to expand... <URL:http://msdn.microsoft.com/library/en-us/winui/winui/graphics/cscrt_01.gif> ;-)