Results 1 to 2 of 2

Thread: Text Select Cursor

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    2

    Question

    I have a problem. You know the text select cursor, the blinking cursor on textboxes and whatnot. Well I load up a program, I need to set he text select cursor in that program like Notepad. Take in to account I already have that programs hWnd handle. How do I work this problem?

  2. #2
    Guest
    Use the SetForegroundWindow api function.

    Code:
    Public Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long
    
    Usage
    
    SetForegroundWindow hWnd

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