Getting the active gadget

BlitzPlus Forums/BlitzPlus Programming/Getting the active gadget

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there any way to get the currently active gadget?

you could queryobject to get the hwnd pointer and check it with the hwnd pointer returned from api GetActiveWindow()

GetActiveWindow() can be found in user32.dll