scrollbar

WPF: Disable ListBox, but enable scrolling

Been banging my head against this all morning. Basically, I have a listbox, and I want to keep people from changing the selection during a long running process, but allow them to still scroll. Solution: All the answers were good, I went with swallowing mouse events since that was the most straight forward. I wired PreviewMouseDown and...

Stopping Scroll Bar Fade in Vista (.NET or WinAPI)

Hello, Does anyone know of any way to suppress the Vista fade animations on scroll bars? I only want to do this temporarily and I don't think subclassing is an option because the scroll bars are the "automatic" ones generated by the auto-scroll functionality (it's a .NET app but I assume interop is required). The reason I want to do t...

How do you enable the horizontal scroll in in a vc++ clistbox?

How do you enable the horizontal scroll in in a vc++ clistbox? ...

Is it possible to have a web browser scroll to show CSS fixed position items that are outside the viewport of the web browser?

I am trying to create a CSS layout where the page looks like it's in the middle of the forest. There is a left and right div with the background trees, some header divs that show the top of the page with various wildlife, and some footer divs that show the bottom with more wildlife that matches up with the left and right div background ...

Flex - Change position of scrollbar to the top of a HorizontalList component

Hi By default, the Horizontal ScrollBar of a HorizontalList component will be at the bottom. Is there a way to reposition it so it is at the top? Just for clarity, I do not mean moving the scroll position using either scrollToIndex or horizontalScrollPosition or similar, but the actual physical position of the scrollbar component. Any...

Winforms: How can I programmatically display the last item in a C# listview when there are vertical scrollbars?

How can I programmatically display the last item in a C# listview when there are vertical scrollbars? I've studied every method associated with listviews and can't find anything. ...

Mouse scrollwheel in Flash/Flex application

I'm building an application in Flex and I have few windows with scroll. When I'm trying to use mouse scrollwheel the window does not scroll up/down. Plus if it is possible to make the window to scroll up/down then is it possible to make to scroll right/left. ...

Scrollbar still is painted after it should be removed

I have the following custom control and can place on a form (with AutoScroll set to true and the control anchored left, top and right). If the form is too short for the control, the form correctly resizes the control (to make room for the scroll) and displays the scroll bar. When the control is closed using the close glyph, the control...

WPF Scroll bar

Is there any way to change all scrollbars so i can make them look less windows? i dont dislike windows but in this case the scrollbar just looks stupid.. ...

WPF Listbox scroll down

Lets say i have a listbox with many items so that a vertical scroll comes up, but i have hidden the scroll bar with ScrollViewer.VerticalScrollBarVisibility="Hidden" Is there any way i can add a button that would scroll down for me? iv tryed to add Command="ScrollBar.LineDownCommand" to a button but that didnt have any effect. ...

Scrollable Grid (Yahoo email like)

Hi, I was wondering if anyone knew of a scrollable gridview control that works similar to the yahoo email gridview. ...

How to detect if a scrollbar is or is not at the end of a richtextbox (vb.net)

Hi, my question is as is:How to detect if a scrollbar is at or not at the end of a richtextbox? edit: when I say at the end I mean completely scrolled to the bottom, not anywhere else. ...

Reverse selecting text programmatically in a richtextbox (vb.net)

Hi, I have a form with a richtextbox and a scrollbar. I want to be able to keep appending text to the textbox without loosing my selection. I can save the selectionstart and selectionlength before I append the text and set it back and it works. The problem is when it comes to reverse selecting. The best I could do is set back the selecti...

How to make the vertical scrollbar follow the data?

In a VC++ 6.0 MFC of mine, I added an EditBox with Vertical Scrollbar, every 10 seconds I am reading data from serial port and I have to display through EditBox(IDC_EDIT1), I done it without any problems. But one typical problem I am facing which is that, whenever a new data displayed in the EditBox the vertical scrollbar goes up and da...

Editbox Scrollbar

In VC++ 6.0 i have developed the MFC Application i have to show the data on the screen repeatedly through EditBox, But the default scrollbar doesn't fits, How to Set a VScrollBar and process it with EditBox. I am not using VScrollBar and "AutoScroll" property of EditBox which i made it false. Bcz VScrollBar and "AutoScroll ,the beh...

How to get firefox to show an auto horizontal scollbar for a div?

See this pastie in firefox. When resizing the browser window horizontally, then when the yellow area gets hidden a bit I want a horizontal scrollbar to appear. In Safari this code works fine. How would you style this for firefox? I am using overflow:auto; I only want the scrollbar to appear when it makes sense, I don't want to see it al...

wxPython: Making a scrollable DC

Hey, I am drawing inside a wx.Window using a PaintDC. I am drawing circles and stuff like that into that window. Problem is, sometimes the circles go outside the scope of the window. I want a scrollbar to automatically appear whenever the drawing gets too big. What do I do? ...

How can I detect a Scrollbar presence ( using Javascript ) in HTML iFrame ?

How can I detect a Scrollbar presence ( using Javascript ) in HTML iFrame ? I have already tried : var vHeight = 0; if (document.all) { if (document.documentElement) { vHeight = document.documentElement.clientHeight; } else { vHeight = document.body.clientHeight } } else { vHeight...

How to Detect that the Mouse is unmoved and button still pressed?

In Delphi, I've added a Scrollbar component (oriented vertical) to the right side of my form. I've added a Scrollbar OnChange event so I can change the view of the form and the position of the scrollbar thumb when the user clicks on the UpArrow or DownArrow button with his mouse, and this works fine. But the OnChange event only seems t...

Toggle iframe scrolling in javascript?

How can I toggle an iframe's scrolling between on, off and auto in javascript? I tried changing the frame.scrolling attribute to "yes", "no" and "auto", but it doesn't have any effect. ...