Problem with ScrollBar(MFC VC6)
-
Hi, I am using default scrollbar for window. In OnSize i am calling SetScrollInfo() function whenever i am resizing the window. But in some situation the scrollbar is getting hidden, if i reduce or increase the size again scrollbar is becoming visible again. I checked the min and max position values but they are correct.
-
Hi, I am using default scrollbar for window. In OnSize i am calling SetScrollInfo() function whenever i am resizing the window. But in some situation the scrollbar is getting hidden, if i reduce or increase the size again scrollbar is becoming visible again. I checked the min and max position values but they are correct.
Are you also resetting your scroll ranges in your paint routine? You need to do this in order to take account of the current client window size and the amount of information you can display relative to the amount of information available. Remember that these values can change just by using a different size font for text or zooming an image.
Just say 'NO' to evaluated arguments for diadic functions! Ash
-
Are you also resetting your scroll ranges in your paint routine? You need to do this in order to take account of the current client window size and the amount of information you can display relative to the amount of information available. Remember that these values can change just by using a different size font for text or zooming an image.
Just say 'NO' to evaluated arguments for diadic functions! Ash