Code archives/Miscellaneous/AppHandle()

This code has been declared by its author to be Public Domain code.

Download source code

AppHandle() by Red2003
NB : The "GetActiveWindow" function retrieves the window handle to the active window associated with the thread that calls the function.

;***********************************
; Blitz code
;***********************************

hWnd = AppHandle()ls the function.
;***********************************
; Userlib File : /userlibs/user32.decls
;***********************************

.lib "user32.dll"
AppHandle%():"GetActiveWindow"

Comments

None.

Code Archives Forum