Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

johan_swe

GetOpenFileName() in fullscreen app

This topic is 5427 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When i call this function in my app (when in fullscreen mode) the dialogue box shows behind the main window; which means that it is not visible, and the user has to alt-tab to show it. It works fine in windowed mode. What should i do to make it work?

Share this post


Link to post
Share on other sites
Advertisement
There used to be a function called something like GDIFlip in Dx7. I seem to recall it going away in Dx8.

Ah here it is, FlipToGDISurface
quote:

In full-screen mode, DirectDraw has exclusive control over the display. As a result, dialog boxes and other windows created through GDI are not normally visible. However, by using special techniques you can incorporate a Windows dialog box, HTML Help, or any other kind of window in your application.

The FSWindow Sample illustrates how a dialog box can be displayed and updated in a full-screen application, and how mouse clicks and keystrokes work just as if the dialog box were being displayed by GDI.



It''s part of DirectDraw7...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!