kiranbhatter 0 Newbie Poster

Hi,
As I want in my program to enable dynamic vertical scroll bar, i would like to use WM_VSCROLL inside WM_PAINT. Let me explain my situation.
As soon as the user hits any key. On output window i am displaying as "key pressed <key>" and then i m moving to next row. But if the user keeps of hitting the keys he would reach to the end of the window. In this scenario i want to vertically scroll down as soon as the user hits any key. Please suggest me some ideas in achieving this task.

Please note that I am writing my program using C through Win32 functions.

Regards,
Kiran

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.