hInstance?

BlitzMax Forums/BlitzMax Programming/hInstance?

Is it possible to get the 'hInstance' of a BlitzMax/MaxGUI window?

The following prints the hinstance of the application itself:
Import pub.win32

hinstance=GetModuleHandleA(0)
Print hinstance