Modify the call to the CreateWindow function in order to create a window that has vertical and horizontal scroll bars. Change the CreateWindow function call in the WinMain function so that it looks like this:
hWnd = CreateWindow("InputWClass",
“Input Sample Window”,
WS_OVERLAPPEDWINDOW | WS_HSCROLL | WS_VSCROLL,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
NULL,
hInstance,
NULL);