If you've only just started learning C++, learn the language first before trying to make Windows programs, whether with MFC or the API.

I'm biased and would say learn API afterwards, but that's just me and my experience talking (not my ego, but I have to say this to shout down all the MFC-advocates )