rajahj
asked on
Regarding Scrolling
Hai,
I have two window one is Main window ( nothing but CScrollView) and the other is Outputwindow which is nothing but CListbox ( Note: same as VC ide).
Main Window has lot of rect objects. ie I am drawing
a chart which has connected rect objects.
When I there is any error present in the outputwindow,I have to go to that particular rect object which has the error.
RectObject has logical points.
CScrollView has also Zoom facility.
I am unable to go to that particular rect ( because of normal as well zoom view).
Whether there is any function which gives the current scroll position?
Eagerly waiting for the reply.
Rajah J
I have two window one is Main window ( nothing but CScrollView) and the other is Outputwindow which is nothing but CListbox ( Note: same as VC ide).
Main Window has lot of rect objects. ie I am drawing
a chart which has connected rect objects.
When I there is any error present in the outputwindow,I have to go to that particular rect object which has the error.
RectObject has logical points.
CScrollView has also Zoom facility.
I am unable to go to that particular rect ( because of normal as well zoom view).
Whether there is any function which gives the current scroll position?
Eagerly waiting for the reply.
Rajah J
use GetScrollPos
ASKER
GetScrollPos doesn't return properly.
Even when my view doesn't have horizontal scroll it returns the value.
So I don't think so this function is suitable to me.
When my zoom value is less than 100( there is no horizontal and vertical scroll) then also getscrollpos returns the value.
Thanks for the eagerly reply and awaiting for more.
Even when my view doesn't have horizontal scroll it returns the value.
So I don't think so this function is suitable to me.
When my zoom value is less than 100( there is no horizontal and vertical scroll) then also getscrollpos returns the value.
Thanks for the eagerly reply and awaiting for more.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.