Skip to main content
gamedev.net
🔒 Locked

MultiMon problem

Started by maoz1 Jun 5, 2003 at 4:54 AM 0 replies 200+ views
Original Post
maoz1
maoz1
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; } =================================================================
Maoz

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.