Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

I'm programming a DLL with C++ (SimConnect) and I tried to open a MessageBox like they did in the FSX SDK Menu example. It worked fine in window mode, but in fullscreen the messagebox is not visible. The screen turns black (due to the DialogMode) but the MessageBox seems to open behind the black screen. I can still close the box by pressing Enter so it seems it's really in the foreground.

Any ideas? How is it done in FSUIPC4 as it seems to work there.

Posted

I'm programming a DLL with C++ (SimConnect) and I tried to open a MessageBox like they did in the FSX SDK Menu example. It worked fine in window mode, but in fullscreen the messagebox is not visible. The screen turns black (due to the DialogMode) but the MessageBox seems to open behind the black screen. I can still close the box by pressing Enter so it seems it's really in the foreground.

Any ideas? How is it done in FSUIPC4 as it seems to work there.

Not sure why, but of course FSUIPC's dialogue occurs as a result of Menu selection, so it may simply be due to FSX still being in menu-related suspension. I remember I had extreme difficulty getting AdvDisplay's window showing on top of FS2004's screen in normal flight or slew modes, as FS keeps drawing over it. In fact it never worked correctly wiith some video drivers/cards.

Sorry. In your circumstances I'd have to keep experimenting to find a solution. Have you tried asking in http://www.fsdeveloper.com?

Happy New Year!

Pete

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.