Ahhh, thanks. Works now.
Another thing, to draw the triangle, I provided its vertices with the coordinates in very small and sometime negative numbers (eg 0.0f, 1.0f, -1.0f). How would I change that unit to pixels (eg 343, 343, 343) and how would I make Direct3D recognize that I am providing the points in pixels not the form I was providing in before?