You wont be able to do this with the standard datagrid, I think you will
need to find a third party grid that supports drawing an image in each cell
and then keeps that on its backbuffer and doesnt render the image with each
paint, or find an open source grid and modify for you needs.
James
--
Create interactive diagrams and flowcharts with ERM Diagram at
http://www.crainiate.net
Take the ERM Tour at
http://www.flowchartcontrol.com
"DraguVaso" <(E-Mail Removed)> wrote in message
news:ekI$(E-Mail Removed)...
> Hi,
>
> I have an inherited DataGrid, that does lots of extra stuff. For exemple
> drawing a backgroundimage in every cell. The problem is that it's taking
> too
> much time (using gdi+), so I want to do it using DirectX. I downloaded
> already the DSK etc, but I can't find how I need to draw an image on a
> given
> position. I don't need stuff to write advanced 3D-games, just painting
> that
> image. Can anybody help me with this? I'm already looking for this the
> whole
> afternoon :-/
>
> I learned already that I shouldn't use DirectDraw (not supported anymore)
> but Direct3D? But that's really all I know yet.
>
> Basicly I jsut need to be able to draw an imahe (jpg, bitmap) on a Form in
> VB.NET: as simple and as fast as possible.. :-)
>
> Thanks a lot in advance,
>
> Pieter
>
>