Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6053739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:04:29+00:00 2026-05-23T08:04:29+00:00

I have a simple directX-9 test app that I want to move from one

  • 0

I have a simple directX-9 test app that I want to move from one monitor to another in extended mode.
The window and the device are created on the primary monitor and scene is drawn correctly but when I move my window to the second monitor it will freeze. There is no error and even the present calls do not fail but there is no update of the window. As soon as I move the window back to the primary monitor everything is fine again.
Can anyone give me a hint what am I missing to get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:04:29+00:00Added an answer on May 23, 2026 at 8:04 am

    Make sure to enumerate over your adapter modes. The mode you are using might have a problem with the graphics card. Also, for each format that an adapter supports there is a list of display modes based on the number of modes available. Here’s a quick example of looping through these modes:

    D3DDISPLAYMODE mode;
    UINT adapter = 0;
    D3DFORMAT format = D3DFMT_R5G6B5;
    LPDIRECT3D9 pD3D;
    
    pD3D = Direct3DCreate9( D3D_SDK_VERSION );
    
    if(!pD3D) return FALSE;
    
    UINT availableModes = pD3D->GetAdapterModeCount(Adapter, Format);
    
    if(!availableModes) return FALSE;
    
    for(UINT i = 0; i < availableModes; i++)
    {
        pD3D->EnumAdapterModes( adapter, format, i, &mode);
        formatModeList->push_back(mode); // A list of modes
    }
    

    Also, make sure you are NOT using flipping if you are in windowed mode. In windowed mode, you share the current video mode of the applications running. Unfortunately, you have to use the slower blitting process. Hopefully this helps.

    Regards,

    Will

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple wpf app which has a button that increments a value
I need to display a full screen DirectX window from a Qt app. Although
I have a simple reading app that uses fmdb to talk to the database
I have a simple page with one textfield and a submit button. I want
I have simple static lib in xcode with the only class test.h: @interface TestClass
I have simple win service, that executes few tasks periodically. How should I pass
I have simple SSIS package which reads data from flat file and insert into
Trying to get a simple test perl script working. Have the following files/folder structure
I have a solution but it is one that I know is not the
I have a simple form to submit and test ajax,but it doesn't work and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.