Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Window caption and dialog-texts disappear from embedded application

  1. #11
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    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.

  2. #12
    ria
    ria is offline
    Newbie
    Join Date
    Jul 2006
    Posts
    5
    Quote Originally Posted by RPM_VR4 View Post
    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.
    I would guess that some other applications respond badly as well when their parents are stolen. Eg. if the window for some reason try to get some data from it's parent dialog.

    SetWindowRgn would probably work, but could raise some new problems since you have to manually keep track of all windows. This is probably a "cleaner" way to do it than stealing the windows parent though.

    I'll be glad to help out if I can. Sending you a PM now.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Onscreen keyboard
    By gti in forum Map Monkey
    Replies: 40
    Last Post: 06-14-2008, 11:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •