I wish to know how to make another's application window be a parent to my wx window.
I know that it is possible because twain module does just that.
For instance, you can pass in pygame.display's handle and it will act as a parent of scanning dialog that will appear. You can give it a handle of your Tk() or wx.Frame() directly (but it will grab out only the handle number anyway).
Or you can pass in a handle of completely different application, notepad for example.
I would like to achieve this. So that my wx dialog or pop up window appear in Modal mode over another application.
You already deduced that I want to do it on MS Windows. Well, I'd like to do it cross-platform, but other platforms aren't so stupid to let anyone messing in other app's interface. Sure I think it is possible, but much harder. So, for now Windows only.
I guess for this I will need to emulate wx.Window or Frame or Panel or something based on a chosen window handle to pass it to my dialog. Or something like that.
Any ideas?