VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get Text Method by Project SP

Salman Paji  (5 Submissions)   Windows API Call/Explanation   VB Script   Beginner   Wed 3rd February 2021

A Simple API Method Of Getting Text From Your Selected Window...

API Declarations
Option Explicit
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SendMessageString Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Private Const WM_GETTEXT = &HD

Rate Get Text Method by Project SP (2(2 Vote))
Get Text Method by Project SP.bas

Get Text Method by Project SP Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters