Oh yes, once you finish learning C++ (classes, inheritance, friendship, templates, and so on), then you can directly move on to the Qt framework. You'll get to do windowed apps as soon as you start with Qt :)
Btw: MS-DOS is gone since windows NT (or windows 2000, correct me), you're using the...