Results 1 to 4 of 4

Thread: hide datagrid edit cursor

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    2

    hide datagrid edit cursor

    It is possible to hide the datagrid's edit cursor (or caret is it called in WinAPI)???

    Thanks

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Yes , using HideCaret function in API .

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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:
    1. Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long

  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    2
    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
  •  



Click Here to Expand Forum to Full Width