473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Getting "LIVE" scrolling in Windows 7 with vb.net

!NoItAll
297 100+
I have an application with a scrolling window of thumbnail images. On XP it works just the way I want it; as the user scrolls the thumbnails go flying by. But in Windows 7 the thumbnails stay put until the user releases the mouse button and the thumbnails jump to the correct position.
I've examined the properties of the control I'm using (I am actually using windows.systems.forms.form set to autoscroll) and there doesn't appear to by anything to activate live scrolling - besides that would likely be inconsisten between XP and Windows 7.
Perhaps it is a setting in Windows 7 instead - color me clueless for now...
Any help would be appreciated!
Oct 21 '11 #1
2 1673
!NoItAll
297 100+
Ok - sorry for the fire drill. It is a setting inside Windows 7.
"Show window contents while dragging" must be on. I wonder if there is a way to "override" this setting for a single application in Win7...
Oct 21 '11 #2
!NoItAll
297 100+
I'll continue this conversation with myself... :-)

So as it turns out I should be able to check me.GetScrollState(ScrollStateFullDrag) to see if the global setting to show windows content while dragging has been set. But...
it always returns false. Also any attempt to use:
SetScrollState(ScrollStateFullDrag, True) fails. Looking at the msdn do it says the following:

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.


WTF! Why even expose and document a method we aren't supposed to use?

As it further turns out I changed my declaration for my scrolling window from:

Private ScrollWindow as System.windows.forms.form

to

Private Withevents ScrollWindow as System.windows.form.form

and inside the scroll event I manually set the position of the window contents so it will now scroll live. I think that if the global setting of "show window contents while dragging" is on, that the position probably gets set twice though (once by the OS and once by me). I would test and not do it, but as I said the call to determine if it is on always returns false regardless of whether it is on or off.
Oct 22 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
1
by: sven_c_t | last post by:
Hi! Probably a newbie question. I´ve been working a bit with the widget toolkit FLTK and I have been wondering why there is such a heavy use of the new operator, when it does not seem to be...
2
by: Howard Jess | last post by:
Given the html at the end of this message, I see how a DOM NodeList exhibits its "live" behavior; that is, adding elements to a document can change any NodeList variables, when there's *no* code...
3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
22
by: Alan Silver | last post by:
Hello, I am updating some old web pages, and have come across a problem. I have some tables where the opening tag looks like... <table border="1" bordercolor="#ffffff"> which gives a nice...
4
by: jiatiejun | last post by:
I want to convert a path from ~/xxx/xxx.gif to 'http://xxxxxxx/xxx/xxx.gif' how to convert it? thanks btw: the convert function allow
4
by: lander | last post by:
I've read the page life cycle thing in msdn, still, i'm getting a bit confused of thinking how all the things are going under the hood... I know that when page loading, that the controls'...
14
by: Cowboy \(Gregory A. Beamer\) | last post by:
Top posting is also considered bad netiquette. -- Gregory A. Beamer MVP, MCP: +I, SE, SD, DBA Subscribe to my blog http://gregorybeamer.spaces.live.com/lists/feed.rss or just read it:
9
by: jrod11 | last post by:
I am working on a new project for a company intranet portal. it is based on the dropthings program found here: www.codeplex.com/dropthings I have everything working the way i want and I am ready...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.