Humm... I wonder if I could make SKINbedder a CF plug-in? What do you think David?
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...Originally Posted by RPM_VR4
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
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...Originally Posted by RPM_VR4
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
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. LOLOriginally Posted by veetid
I just found some very strange behavior while programming SKINbedder...Originally Posted by veetid
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).![]()
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).
WTF!!! It's worse than I thought... as soon as I change the FormStyle from fsStayOnTop to fsNormal, the embedded program closes itself???
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!Code:ShowMessage(IntToStr(FindWindowEx(WindowArray[0].Handle, 0, 'IntellinavWCls', 'iGuidance'))); MainForm.FormStyle := fsNormal; ShowMessage(IntToStr(FindWindowEx(WindowArray[0].Handle, 0, 'IntellinavWCls', 'iGuidance')));
PS: Sorry to hog this thread with my programming questions![]()
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...Originally Posted by RPM_VR4
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
i worked out what it wasOriginally Posted by RPM_VR4
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![]()
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.
Bookmarks