Attach a hotkeyevent to a Window?

BlitzMax Forums/BlitzMax GUI Programming/Attach a hotkeyevent to a Window?

Is it possible to make hotkeyevents that emit only if a certain window is the active one?