Jump to content
  • Advertisement


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


GetOpenFileName() in fullscreen app

This topic is 5513 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
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

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!