Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to get an handle to the frontmost window on Windows?
Answer: This function returns a handle for the frontmost window:
Function GetForegroundWindowHandle() as Integer
#if targetwin32 then
declare function GetForegroundWindow Lib "user32.dll" as Integer
Return GetForegroundWindow()
End Function

Feedback, Comments & Corrections

The biggest plugin in space...

MBS Xojo tutorial videos