Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: centrafuse and webcams.... ?

  1. #21
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by RPM_VR4
    There is no reason to keep the title or the frame, but I would like to keep the status bar. There's a lot of important stuff there for many programs (just like the menu-bar and button-bar). Removing the status-bar (as well as the menu-bar and button-bar) should be optional (or just always on and people can use SKINbedder to remove it when they don't want it ).

    BTW: How do you remove the status bar through the API? I've just been nudging it out in SKINbedder. I didn't know it was OS-drawn. Since it is, isn't the menu-bar OS drawn too? Can you remove that through the API?
    I don't like them being there... they take away from the integrated feel... makes it look more like an app ontop of the program...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  2. #22
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Humm... I wonder if I could make SKINbedder a CF plug-in? What do you think David?

  3. #23
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by RPM_VR4
    Humm... I wonder if I could make SKINbedder a CF plug-in? What do you think David?
    you should be able to do whatever you can imagine with the SDK...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  4. #24
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Quote Originally Posted by veetid
    I don't like them being there... they take away from the integrated feel... makes it look more like an app ontop of the program...

    david
    Yeah, but I need it to be there for some apps. I suppose I could use SKINbedder so you cannot strip-out the status bar. That's kinda backwards though... SKINbedder is supposed to strip out more than the front-end, not prevent the front-end from striping things out. LOL

  5. #25
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Quote Originally Posted by veetid
    I do embed, not sure about the ontop problem... it doesn't happen with all programs... and I remove the title and status bar intentionally...

    david
    I just found some very strange behavior while programming SKINbedder...

    If I set SKINbedder to FormStyle=fsStayOnTop at design time, and then embed, the embedded app stays visable OnTop. However, if I change the FormStyle to fsNormal and then back to fsStayOnTop at runtime (either before or after embedding, or even if I set it to fsNormal at design time and just have my code change it to fsStayOnTop as soon as it runs), then I get the same problem as CF: My empty form stays OnTop of the embedded program.

    This is very frustrating as I wanted to be able to keep my form on top whenever embedding so you wouldn't see the flicker of the non-embedded window for a split-second before it embeds. I can't have my form always on top though because then you couldn't use the rest of CF (my form would always be ontop of CF even if you switched away from my app).

  6. #26
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    I take that back... if I set it to fsStayOnTop on run-time before embedding, it works fine. It's when I set it to fsNormal that the embeded program goes behind my form!?!?!?!

    That's even more frustraiting... why would changing it from OnTop to not OnTop move my form in front of the embeded program???

    Also that makes me wonder about CF... if it is always on top and never changes back to normal, then embedding programs to it should work (by my experiance).

  7. #27
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    WTF!!! It's worse than I thought... as soon as I change the FormStyle from fsStayOnTop to fsNormal, the embedded program closes itself???

    Code:
          ShowMessage(IntToStr(FindWindowEx(WindowArray[0].Handle, 0, 'IntellinavWCls', 'iGuidance')));
          MainForm.FormStyle := fsNormal;
          ShowMessage(IntToStr(FindWindowEx(WindowArray[0].Handle, 0, 'IntellinavWCls', 'iGuidance')));
    The first one returns the correct handle, then iGuidance dissapears from my form and from windows TaskMan, then the second one returns 0 (since iGuidance.exe is no longer running). WTF!

    PS: Sorry to hog this thread with my programming questions

  8. #28
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by RPM_VR4
    I take that back... if I set it to fsStayOnTop on run-time before embedding, it works fine. It's when I set it to fsNormal that the embeded program goes behind my form!?!?!?!

    That's even more frustraiting... why would changing it from OnTop to not OnTop move my form in front of the embeded program???

    Also that makes me wonder about CF... if it is always on top and never changes back to normal, then embedding programs to it should work (by my experiance).
    I haven't spent much time yet looking into the reported ontop problems... But I set the OnTop property in the constructor for my base class... so it should be getting set before any embedding...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  9. #29
    Newbie
    Join Date
    Jun 2005
    Posts
    48
    Quote Originally Posted by RPM_VR4
    Tone: You probably have CF set to "Always on Top". You can't embed things with that enabled because then CF is on top of your embedded program.
    i worked out what it was
    when i was putting the address in applications file thingy (lol) i never added the icon name on the end for the program i wanted to imbed...
    all works now, thanks for everyones help

  10. #30
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    It turns out I can leave SKINbedder AlwaysOnTop and when you switch away from the embedded app, CF hides the SKINbedder window (even though CF is not AlwaysOnTop). How does this work David? Do you minimize the embedded app when you switch away from it or something? Anyway, it's a good thing... don't change it .

Page 3 of 4 FirstFirst 1234 LastLast

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
  •