directx9学習(画面サイズ)

  • 画面サイズを変更する(WinMain関数内)

  // Create the application's window
  HWND hWnd = CreateWindow( "D3D Tutorial", "D3D Tutorial 02: Vertices",
               WS_OVERLAPPEDWINDOW, 100, 100, 100, 100,
               GetDesktopWindow(), NULL, wc.hInstance, NULL );

  • 変更結果