Are you trying to make a GUI application, is this going to be something in a game, do you want it to be cross platform? Hard to recommend libraries/how to make it yourself without knowing some more things.
This is an entirely different thing that what you have been doing so far. You will need to create a graphical, rather than console, application. You will also be well served to get yourself a decent graphical library to make your scroll bar. A couple of good suggestions would be QT and WxWidgets. Either way, it's going to be a long hard road for you to do this as you move from the world of console into the world of graphics.
Edit: Also, Dev CPP is kinda outdated... I would definitely recommend changing to another IDE and compiler (assuming you're using the one that comes with Dev CPP).