FOR I = 1 to 10
Screen(i) = _NEWIMAGE(640,480,32)
NEXT
SCREEN Screen(RND*10+1)
Print _DEST?
? _Display
In each case, the index number under which the screen is located is known. Isn't this a bit of a problem that doesn't exist?
Oh, thank you for the demonstration. You seem to want 100 screens that will have different Windows array index numbers, regardless of the order in which they were called. This explains the construction of the MakeWindow function.
Obviously you want to have the dialogs drawn in memory so that they do not draw but display directly when needed. You will also direct mouse and keyboard control to that dialog. Good. Wouldn't _PUTIMAGE serve the same goal? Well, I'll be surprised, I don't know exactly where you're going.