If you want to learn how to use DirectX, I HIGHLY recommend checking out the Samples directory in the SDK :)
There's a C++ folder, inside of that is a Direct3D folder. That's DX9, and in that folder is the Tutorials folder which comes with a few really simple examples for drawing and just...