Hi Guys!

I'm creating a windowless usercontrol and have 2 functions to draw an image I load with GdipLoadImageFromFile.

A) calls GdipDrawImageRectI gdipGraphics, img, x, y, x2, y2
and works perfectly!!!



B) calls GdipDrawImageRectRectI gdipGraphics, img, x, y, x2, y2, 0, 0, Width&, Height&, 2
and dont draw anything...

Cause A) works fine I know gdipGraphics and img are not the problem. The values of x,y are 0,0 and x2,y2 are the same as width and height of the image (also tested other values, no change)


What can be the cause of problem ? I'm really stuck with this