Re: Draw an Image on my Form
- From: Ski <ski@xxxxxxx>
- Date: Sun, 31 Jul 2005 22:28:15 GMT
yes. you can draw it in a sprite
you might be better off creating your own grid as say a user control and drawing the bitmaps and grid yourself.
email me at ski99@xxxxxxxxxxxxxxxxx if ya need help workin out sprites.
Scott
DraguVaso wrote:
Yes I am able to do it with the standard grid: I'm actually doing it already. But I just want to be able to do it with DirectX....
So my question is still: how do I paint an image using directX? does nobody knows this? :-S
"James Westgate" <jameswestgate@xxxxxxxxxxxxx> wrote in message news:%236FWZ94kFHA.572@xxxxxxxxxxxxxxxxxxxxxxx
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" <pietercoucke@xxxxxxxxxxx> wrote in message news:ekI$dC4kFHA.1412@xxxxxxxxxxxxxxxxxxxxxxx
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
.
- Prev by Date: Re: failed device creation june samples
- Next by Date: RE: Freeing resources AudioVideoPlayBack
- Previous by thread: Re: Freeing resources AudioVideoPlayBack
- Next by thread: Hauppauge PVR 150 issues
- Index(es):
Relevant Pages
|