Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Scrollbars, These Nasty Entities...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ehsan - 23 Jul 2005 10:08 GMT
I am creating a new ListView control. Since I'm painting my own items myself,
I don't want to use AutoScroll feature of the UserControl. Instead I tried
using HScroll and VScroll controls. Now, I need to select a listview item
using the keyboard(UP and DOWN arrows) but the scrollbar grabs focus and by
pressing these keys, the scrolbars' value changes. How can I make these
scrollbars stop responding to keyboard?(Before I start writing my own
scrollbars!)
Thanks.
Lloyd Dupont - 23 Jul 2005 13:20 GMT
well if you focus your own view with Focus() that shoud be allright....
also for this kind of stuff you'll be better subclassing Control (instead of
UserControl)

>I am creating a new ListView control. Since I'm painting my own items
>myself,
[quoted text clipped - 6 lines]
> scrollbars!)
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.