VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

'Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Tue 23rd January 2001   Mon 8th February 2021

'Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API

API Declarations


Private Declare Function GetForegroundWindow Lib "user32" () As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Rate 'Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API (1(1 Vote))
'Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API.bas

'Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters