473,563 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to synchronize V & H scrollbar in TreeView

Hi,

I would like to know how to synchronize the vertical & horizontal
scrollbars in 2 TreeView to move up & down, left & right synchronously.
Noticed that TreeView does not have any scroll event for vertical &
horizontal scroll. Any idea how to manage this in VB.Net 2005? I have also
tried to debug windows message through the WndProc() routine and when I move
the scrollbars in the TreeView it does not generate WM_HSCROLL (276),
WM_VSCROLL (277) message number.

Regards
Sanjib
Jul 1 '06 #1
0 1397

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1350
by: sonali_reddy123 | last post by:
Hi, I am having a problem regarding use of a treeview. The problem is whether it is possible to set a default position to the scrollbar so that if any of the treenode contains the text bigger than the size specified for the treeview the scroll doesn't move to the treeview max size and display the end of the node's content but should stay...
2
3514
by: Michael C# | last post by:
Hi all, I need a treeview with the vertical scrollbar on the left-hand side of the control. Can someone point me in the right direction for the best way to do this? Articles, source code, links, etc. all appreciated. TIA
0
2349
by: Gene Hubert | last post by:
I've got two treeviews side by side on a panel on a form. They each have about 20 nodes in them. The treeview on the right has a vertical scrollbar. The treeview on the left needs a vertical scrollbar but does not have one. I have tried TreeView.Scrollable = True and calling ExpandAll() before the tree view is displayed with no success. ...
2
2670
by: Benny Raymond | last post by:
Does anyone know what causes a treeview to sometimes start with a horizontal scrollbar that has no reason to be there, and will not go away until you size into the nodes and then back out? Anyone know how to correct this bug? My treeview was working fine until I added it to a tab page :( Thanks, Benny
1
2495
by: bill | last post by:
I am using VS 2005 (VB.NET) web forms. I have a webforms Master page, using a header and left side template. I have a content form with a ASP 2 treeview control in the content placeholder on the left side cell. How can I have a scrollbar when the treeview expands beyond the bottom of the page? I don't want the scrollbar for the entire...
0
1145
by: Christian Rühl | last post by:
Good Morning, I have generated a TreeView from a DOM. Now I want to set the checkboxes according to an ini file I've written. The ini file looks like this: .... Dsr=1 version=1 customer_control=0
0
1474
by: Christof Nordiek | last post by:
Hi, Below is a simple program that demonstrates my poblem. i fill a treeview with nine nodes. Then the treeview is shown with a scrollbar. But I can't scroll to the last item. scrolling to the bottom the last item remains almost nvisable. What is the matter? using System; using System.Collections.Generic;
0
1986
by: bipi | last post by:
Now, I have treeview with Scrollbar properties is true, it mean that I will have two scroll (vertical scrollbar and horizontal scrollbar) . So, I don't want to use horizontal scrollbar, I want to kill this scroll. Please give some idea or solution for this problem. Many thank,
1
4981
by: =?Utf-8?B?YW5kaSByaWNrZW5iYWNo?= | last post by:
Hello, i have two listviews next to each other on a form. I would like to synchronize both vertical scrollbars of the two listviews with one scrollbar (for example VScrollBar). How can I do that? Thank you very much.
0
7664
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.