1

plzz help i have to make a program in c in which the windows (output screen)
to scroll up and down with mouse as require???
i have been searching for long time but didnt got any cluee??

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by Ancient Dragon
0

I know with MS-DOS 6.X and earlier it was possible to do that pretty easily with assembly code, but for console windows in MS-Windows I don't think it is possible. If you have a win32 GUI program then you would implement scroll bars

You might also check out some of these sample programs to see if yoiu can find something useful.

0

i think it is possible with the mouse programing .i am not getting right registers in which these programs are available.

0

mouse functions only get and set the mouse coordinates on the screen and, by itself, has nothing to do with scrolling. The only way I know of to cause scrolling via the mouse is to use scrollbars as I mentioned previously.

>>i am not getting right registers in which these programs are available.
I don't know what you mean by that. What compiler are you using? If Turbo C, then see this article about mouse functions.

Also read these google links

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.