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??
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.
i think it is possible with the mouse programing .i am not getting right registers in which these programs are available.
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