Is there a .NET equivalent to the Win32 API's for ShowCaret and
SetCaretPosition. I am trying to draw a blinking caret and hope that I donot
have to go through and create my own graphics routine just to get a native
caret look alike
Sijin Joseph - 29 Sep 2004 18:14 GMT
You can always use P/Invoke on ShowCaret and SetCaretPosition..
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
> Is there a .NET equivalent to the Win32 API's for ShowCaret and
> SetCaretPosition. I am trying to draw a blinking caret and hope that I donot
> have to go through and create my own graphics routine just to get a native
> caret look alike
Sijin Joseph - 29 Sep 2004 18:16 GMT
http://pinvoke.net/default.aspx/user32.ShowCaret
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
> Is there a .NET equivalent to the Win32 API's for ShowCaret and
> SetCaretPosition. I am trying to draw a blinking caret and hope that I donot
> have to go through and create my own graphics routine just to get a native
> caret look alike
>>> Is there a _______ .NET equivalent __________ to the Win32 API's for
>>> ShowCaret
> http://pinvoke.net/default.aspx/user32.ShowCaret
>
[quoted text clipped - 6 lines]
>> donot have to go through and create my own graphics routine just to get a
>> native caret look alike
"Jeffrey Tan[MSFT]" - 30 Sep 2004 09:37 GMT
Hi,
In .Net, there is not build-in support for this, we have to P/invoke the
Win32 API to do our control. Do you have any concern about P/invoke these 2
API? Please feel free to tell me.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Claes Bergefall - 30 Sep 2004 08:25 GMT
No
/claes
> Is there a .NET equivalent to the Win32 API's for ShowCaret and
> SetCaretPosition. I am trying to draw a blinking caret and hope that I donot
> have to go through and create my own graphics routine just to get a native
> caret look alike