- This topic has 1 reply, 2 voices, and was last updated 12 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Integrated Application Platform
Integrated Application Platform › Forums › General › Scrollbar in Mshtml
Hi, I am using a Mshtml control to set some text on the screen. There is a small scrollbar area to the right of the object. I was wondering if there is a setting to get rid of the small scrollbar, since the text is too short to need a real scrollbar anyway (the scrollbar is not really there, only the holding area for it). Is there maybe a style setting for it?
Thanks 😀
Hi,
The vertical scroll bar is being added as part of the window style. There isn’t really a way of overriding that without modifying stdlib. MshtmlControl constructs an AtlAxWinControl and currently does not pass any window style options to it. If you look at AtlAxWinControl you will see that’s where the VSCROLL style is being applied.