David Posted March 18, 2003 Report Posted March 18, 2003 Hello, I create program for Flight Simulator. I whould like to run this my soft in the FS main windows. But i can't do that, can You say me whats is the method to running own application in the FS windows ? example: SquawkBox, FSUIPC. ...and second question: How i can add menu to my program in FS->modules . OK, i now, maybe must create and put in the correct folder the DLL file. But what is the procedure to create a FS compactybible modules ? Please help.
Pete Dowson Posted March 19, 2003 Report Posted March 19, 2003 I create program for Flight Simulator. I whould like to run this my soft in the FS main windows. But i can't do that, can You say me whats is the method to running own application in the FS windows ? example: SquawkBox, FSUIPC. FSUIPC doesn't "run in FS main Windows". I don't know Squawkbox. The only program I've written whch does display a window obver FS windows is AdvDisplay, and even that is not possible in full screen mode on some video cards -- the way it is going, it won't be possible on any video cards in full screen mode in future. The only way to guarantee space on the FS window looks likely to be via Gauge programming. If all you want to do is display a window in front of FS's window, use the "Foreground" or "topmost" type styles. But you have to run FS in Windowed mode. ...and second question: How i can add menu to my program in FS->modules . FSUIPC provides a facility to add an entry to the Modules menu entry and detect when it is used, even across a Network via WideFS. It is described in the FSUIPC SDK. OK, i now, maybe must create and put in the correct folder the DLL file. But what is the procedure to create a FS compactybible modules ? There is no specific method for doing this, it is not documented. You have to hack into FS to find such things out. Why would you want to? It won't help display windows over FS. I suggest you look at making a Gauge. Regards, Pete
jcboliveira Posted March 19, 2003 Report Posted March 19, 2003 the way it is going, it won't be possible on any video cards in full screen mode in future. Sorry to jump in. That's one of the things that I'm wondering about for some time. I never realized how to do it, been looking around Direct-X full screen mode and never got that right maybe the problem is that I'm looking in DX8 SDK not DX7. Best José
Pete Dowson Posted March 19, 2003 Report Posted March 19, 2003 That's one of the things that I'm wondering about for some time. I never realized how to do it, been looking around Direct-X full screen mode and never got that right maybe the problem is that I'm looking in DX8 SDK not DX7. I've not looked at any variety of Direct3D. I don't know if you can actually "share" full screen mode with some other process or thread. I know you can with DirectSound, but that wasn't easy either (Esound actually uses DirectSound). Maybe there's a way -- but it is certainly something I won't have time to look at till I've sorted all the main things out. If you do find a way, please keep us informed! Regards, Pete
David Posted March 19, 2003 Author Report Posted March 19, 2003 FSUIPC provides a facility to add an entry to the Modules menu entry and detect when it is used, even across a Network via WideFS. It is described in the FSUIPC SDK. Right, thanks. Look at my attachment. This is Dream Fleet, Eurowings and PIC FLight Management Computer. This FMC is always running on top. When I start this in FS then it still show on top in the FS window and is visible. My application's is running on top but only when FS is running in Window Mode... :( In the full screen with another resolution of my desktop my programs are not visible... There is something method to do that with my application's ?
Pete Dowson Posted March 19, 2003 Report Posted March 19, 2003 I expect it is written as an FS gauge. If it is not, perhaps the programmers will tell us how they make it stay on top in FS full screen mode? And how they are going to do the same in FS9? Regards, Pete
katypluta Posted March 19, 2003 Report Posted March 19, 2003 Pete, As far as I remember the Dreamfleet FMC is a separate program, not a gauge or module or anything running within FS....
Pete Dowson Posted March 19, 2003 Report Posted March 19, 2003 As far as I remember the Dreamfleet FMC is a separate program, not a gauge or module or anything running within FS.... Okayin that case they know how to display windows on top of a full screen FS. Others can find out too. (Can they let me know how when they do, please?) But FS9maybe that's another matter. I wonder what they will do then? Regards, Pete
jcboliveira Posted March 20, 2003 Report Posted March 20, 2003 Now that I'm going to slow down in the programs department I will try to look more carefully. I thinks that is something related to cooperative level in Direct Draw. From sometime I'm think about displaying PDF on full screen FS. José
David Posted March 20, 2003 Author Report Posted March 20, 2003 thinks that is something related to cooperative level in Direct Draw DirectDraw drawning ? hmm, right. Maybe this is the way... :roll:
jcboliveira Posted March 20, 2003 Report Posted March 20, 2003 Hi I managed to have some time and look to the DX7 SDK there is a sample called fswindow that does just what you want. The problem is that the sample creates a surface (fancy name for a linear area of display memory), I tried to instead enumerate the surfaces and see if I can get FS2002 surface but it didn't enumerate. The main problem seems to be "how to access another process surface" I don't agree completely with Pete regarding FS2004 if the supported DX version will be DX9 and if the DX7 methods are compatible I think that the applications will work. I hope since I like DF734 a lot. :) Best José
jcboliveira Posted March 20, 2003 Report Posted March 20, 2003 Hi again I think I found something in VB http://msdn.microsoft.com/library/defauvb0091.asp Best José
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now