Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.
Moderator: Moderators
-
Big Muscle
- Posts: 72
- Joined: 2004-01-23 14:45
Post
by Big Muscle » 2004-02-07 06:42
Hello. I have this two questions:
1) Is there some way to change listview to treelistview in search window? I would like to hide the same files under one item with [+]
2) Where can I find (in source code) how often DC++ try to reconnect to sources ?
Thanks for answer !
-
Twink
- Posts: 436
- Joined: 2003-03-31 23:31
- Location: New Zealand
Post
by Twink » 2004-02-07 18:46
I dont think tree views support columns like used in the search window, however a few versions ago bcdc did get that feature by subclassing the list control and adding it itself (least thats the impression I got)
get the bcdc source and checkout SearchResultsCtrl.h and SearchResultsCtrl.cpp
-
Big Muscle
- Posts: 72
- Joined: 2004-01-23 14:45
Post
by Big Muscle » 2004-02-08 05:10
Ooh, I checked this file and it is very hard to copy it
I have also segment downloading in my client and I need to hide all segments under one item.
-
Twink
- Posts: 436
- Joined: 2003-03-31 23:31
- Location: New Zealand
Post
by Twink » 2004-02-08 14:49
well i wasn't suggesting copying it fully, just to give you an idea of how to write the code yourself.
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Post
by GargoyleMT » 2004-02-08 15:09
Big Muscle wrote:1) Is there some way to change listview to treelistview in search window? I would like to hide the same files under one item with [+]
There's no such native win32 widget, so all the treelistviews are hacks. You can search the WTL mailing list [1] or codeproject [2] for information about this subject.
[1] =
http://groups.yahoo.com/group/wtl/
[2] =
http://www.codeproject.com/wtl/
-
Twink
- Posts: 436
- Joined: 2003-03-31 23:31
- Location: New Zealand
Post
by Twink » 2004-02-08 20:37
although since hashing has been added to 0.307 (well in testing anyway) then maybe arne or another talented programmer is planning on writing a widget for the search windows anyway....