I advise against using GetActiveWindow for that. The API call is specifically to find what window is in use; not what window is being used as the main window in the program which calls it.
BlitzMax undoubtedly has a nice way to tell you what the handle of its created window is...
BlitzMax undoubtedly has a nice way to tell you what the handle of its created window is...