Interesting. Maybe I'll incorporate that in my Sb code. I bet you that would fix GoogleEarth from locking up everything when you try to close it too. I was actually thinking I might try switching to using SetWindowRgn instead of nudging and then I don't have to SetParent at all. Sb would not truly embed, it would just move/size/crop. The hardest part of doing it that way is making sure every window is hidden when switching apps in your frontend and every window is re-shown when switching back. I really want to do every thing Layered so my buttons can have per-pixel alpha-blends over a moving map window. For that I can't SetParent as described. Someday... when I have time
You care to help out? ...it's basically open-source (if you ask for it). PM me your email/IM if you wouldn't mind talking about Win32 API coding a bit sometime.
Bookmarks