Visual Basic Stats:

How to support the site


Site Wide Message: (current site time 9/9/2010 8:50:15 AM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

API-ucTreeView 1.3 (OLE Drag & Drop support)

Print
Email
winzip icon
Submitted on: 11/1/2004 2:38:47 PM
By: Carles P.V. 
Level: Intermediate
User Rating: By 32 Users
Compatibility:VB 6.0

Users have accessed this code  14532 times.
 
 
     New update: OLE Drag & Drop support. // Most part of new code is based on vbAccelerator's TreeView control. Some new methods and properties have been added, too (see control History for more info). // Let me know about any bug, suggestion. __________________________________________________ Update #1: Added CheckChildren() method (hereditary checking) // Fixed: NodeDblClick not raised when DblClick on 'CheckBox'. Also node not expanded/collapsed. // For folder-explorer implementation, see CodeId=56432. __________________________________________________ Update #2: Unicode.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 53 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
11/1/2004 3:11:23 PMNCrawler

As always, A+ #1 superior code. 5*'s from me...
(If this comment was disrespectful, please report it.)

 
11/1/2004 4:21:40 PM

yet another amazing control. 5 stars!

Carles will you be working on GIF processing again in the future? i know i keep asking this, but i loved your work in this area and was looking forward to seeing that GIF editor completed. We spoke about this in email and it sounded like you were going todo great thing's in this area for building animations (transiations, image filters, resizing, drawing tools, etc).

I am intrested in understanding how to resize GIF animations with best possible results, so i think your advice/code could help greatly with this.

With that said, it might be wise to build a complete set of custom control's (like you've been doing recently) then build a complete application interface using these great control's.

Would be nice to see a frame holder similar to GIF Movie Gear has. Also could be used for the GIF editor!

Thank's again!
(If this comment was disrespectful, please report it.)

 
11/1/2004 10:27:44 PMUnruled Boy

Besides "fantastic", any better word??? I am longing for some more implementations: 1. hereditary checkbox selection? 2.folder view? 3.mimics msn 7 contact list owner-drawn style?(animation etc)
(If this comment was disrespectful, please report it.)

 
11/2/2004 11:18:50 AMRobert Rayment

Carles: OS problems? Colleague is getting 'Out of Stack Space' with Win ME after dragging from left to right tree one or two times.
(If this comment was disrespectful, please report it.)

 
11/3/2004 1:04:59 AMZhu JinYong

it can't draw Chinese characters.also itself wouldn't draw without a click.But VBAccelerator's treeview can do it.

(If this comment was disrespectful, please report it.)

 
11/3/2004 3:49:02 PMJoe Jordan

Hmm, does this support individual node coloring? I didn't see it at first glance
(If this comment was disrespectful, please report it.)

 
11/4/2004 1:47:54 PMHeriberto Mantilla Santamarķa

Isn't necessary to say words, excellent work Carles.
(If this comment was disrespectful, please report it.)

 
11/14/2004 3:18:03 PMPhilip Zac

Dear Carles, can u pls tell me how to go a particuallr node via code....

Thanks
PHilip Zachariah

(If this comment was disrespectful, please report it.)

 
1/13/2005 5:47:51 AM

There is a bug while editing a node text and pressing KEYUP/KEYDOWN. I've corrected it, just test the hEdit window if <>0 and send the messages in that window instead of the main htreeview. Function is frTranslateAccel() This is the code: '**Patch** by DAV 2005/01/13 'Vede se sono in edit hEdit = SendMessageLong(m_hTreeView, TVM_GETEDITCONTROL, 0, 0) If hEdit <> 0 Then Call SendMessageLong(hEdit, .Message, .wParam, .lParam) Else Call SendMessageLong(m_hTreeView, .Message, .wParam, .lParam) End If Lorenzi Davide (http://www.hexagora.com)
(If this comment was disrespectful, please report it.)

 
1/25/2005 2:01:22 AMZhu JinYong

re-produce problem: 1.Node label edit 2.move <up> or <down> key
(If this comment was disrespectful, please report it.)

 
1/25/2005 2:02:39 AMZhu JinYong

re-produce problem:
1.Node label edit
2.move up or down arrow key

(If this comment was disrespectful, please report it.)

 
2/28/2005 12:19:32 PMFabio La Vitola

Just Bravo,
well done bud !
5 candies from me !
(If this comment was disrespectful, please report it.)

 
2/28/2005 12:38:01 PMFabio La Vitola

E soprattutto bravo a Davide Lorenzi,
anche se i successivi posts non hanno capito una mazza di quanto ha scritto !
And finally that code works !
(If this comment was disrespectful, please report it.)

 
6/30/2005 10:53:04 AM

Bug Report - in WIN2K when invoked in VB6, the following msg pops up:-
The Exception Privileged Instruction (0xc0000096) occurred in the application at location 0x001798fd. Any solutions? Thanks in advance
(If this comment was disrespectful, please report it.)

 
8/15/2005 2:30:25 PMclwprogrammer

Hi, could you also implement the use of custom scrollbars?
(If this comment was disrespectful, please report it.)

 
10/14/2005 12:41:02 AMenmity

i need help! non-ascii characters like double byte characters(simplified chinese), it is not correctly displayed( node text ).
(If this comment was disrespectful, please report it.)

 
2/17/2006 12:32:53 AMSPY-3

Nice code from the parts I reviewed it is pretty good! Keep up the good work! 5 globes!
(If this comment was disrespectful, please report it.)

 
2/22/2007 1:45:07 PMSteppenwolfe

Hi Carles,
Is this the most recent version?
(If this comment was disrespectful, please report it.)

 
6/18/2007 12:18:58 PMTuanHai

Appearance Property is missing. I like the treeview in Flat mode (not 3D mode)
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.