while( 1 ) { ... pdev->Resize( D2D1::SizeU( unclientwidth, unclientheight ) ); pdev->Clear( &ImplColorD2D1( D2D1::ColorF(0.0, 0.0, 0.00) ) ); } I want to update the size of the render target the same size with the window client size. Code above is all my opertions where I call ID2D1HwndRenderTarget interface. Even there's [...] read more