|
-
Apr 5th, 2004, 05:40 AM
#1
Thread Starter
New Member
hide datagrid edit cursor
It is possible to hide the datagrid's edit cursor (or caret is it called in WinAPI)???
Thanks
-
Apr 5th, 2004, 11:06 AM
#2
Sleep mode
Yes , using HideCaret function in API .
-
Apr 5th, 2004, 11:10 AM
#3
Sleep mode
This is the declare for HideCaret . You need to pass the handle of the datagrid's edit box or whatever and put this code in GotFocus event .
VB Code:
Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long
-
Apr 6th, 2004, 08:13 PM
#4
Thread Starter
New Member
Thanks alot!
Do you know how to get the handle of the editbox of the datagrid?
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
|