Archived

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

MultiMon problem

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

Follows some MultiMon code example take''n from the SDK examples. As i understand the first screen should setCooperativeLevel() different from all other screen. it doent work for me unless i treat all screen as primary screen. Any ideas? Maoz. ================================================================ if( pScreen == g_pScreenFirst) { dwFlags = DDSCL_SETFOCUSWINDOW; if( FAILED( hr = pScreen->pDD->SetCooperativeLevel( g_hWnd, dwFlags ) ) ) return hr; dwFlags = DDSCL_ALLOWREBOOT | DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN; if( FAILED( hr = pScreen->pDD->SetCooperativeLevel(g_hWnd, dwFlags ) ) ) return hr; } else { dwFlags = DDSCL_SETFOCUSWINDOW | DDSCL_CREATEDEVICEWINDOW | DDSCL_ALLOWREBOOT | DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN; if( FAILED( hr = pScreen->pDD->SetCooperativeLevel(g_hWnd, dwFlags ) ) ) return hr; } =================================================================

Share this post


Link to post
Share on other sites