General discussion

Locked

MSAccess Treeview Control

By trekketoo ·
My MS Access application uses Microsofts treeview control(It's listed as a Microsoft
TreeView Control Version 5.0(SPK 2)), my problem is
when a Node is dragged to the top of the control, the control does not
automatically scroll up vertically,although it will scroll down when the node is
dragged to the bottom of the treeview(it only scrolls partway before stopping,
making you drop the node then select again to drag down further). I want it to behave as it would in windows explorer when you are dragging a file to the top or bottom of the window. I have been
unsuccessful at finding a way to do this. Does anyone know how to fix this?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

MSAccess Treeview Control

by Bill_H In reply to MSAccess Treeview Control

See the MSDN article "HOWTO: Scroll the TreeView When Dragging and Dropping a Node" for a solution. Although the article refers to Visual Basic, the code can be used for Access as well. The article is located at:

http://support.microsoft.com/support/kb/articles/Q177/7/43.ASP

Collapse -

MSAccess Treeview Control

by Bill_H In reply to MSAccess Treeview Control

Oops...the URL contained a unintended space. The correct URL is:

http://support.microsoft.com/support/kb/articles/Q177/7/43.ASP

Collapse -

MSAccess Treeview Control

by Bill_H In reply to MSAccess Treeview Control

Well, &*%$@#...the comment included the space as well - must be the site, not me.

Anyway, remove the space that occurs before the end of the URL, i.e., " 43.ASP" should be "43.ASP"...

Collapse -

MSAccess Treeview Control

by trekketoo In reply to MSAccess Treeview Control

I had already found this article in Microsofts knowledge base, but I do not know how to make it work in Access. The first part bombs and I am not experienced enough to know how to fix it

Private Declare Function SendMessage Lib "user32" Alias"SendMessageA" (ByVal hwnd As Long,
ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

So I'm still back to where I started.

Collapse -

MSAccess Treeview Control

by Mike (from Canada) In reply to MSAccess Treeview Control

upgrade your software.

Collapse -

MSAccess Treeview Control

by trekketoo In reply to MSAccess Treeview Control

Poster rated this answer

Collapse -

MSAccess Treeview Control

by trekketoo In reply to MSAccess Treeview Control

This question was closed by the author

Back to Web Development Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums