#1482 error windows should have a scroll bar

This is the part 1 of the task. I'm checking code by code to find out why building is failing.
Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>