View previous topic :: View next topic |
Author |
Message |
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Mar 01, 2003 5:58 am Post subject: SSTreeVw.dll BETA released |
|
|
How do we feel about TreeView controls folks? If you're interested in
using one then SSTreeVw.dll is for you.
If you download SSTreeVw.dll please remember to read the SSTreeVw.txt
file. It contains a section for known issues with the dll. Maybe one of the
other dll developers will have an idea as to why I have some of the issues
that I have.
SSTreeVw.dll is still in it's BETA stage, so some minor bugs are to be expected.
Please send me any comments, complaints, bugs, etc.
Please send me feedback folks. Without it I won't know how to better
improve my software products.
SSTreeVw.dll provides a TreeView control as well as functions and
commands to work with the TreeView control. ImageList support is included
in a limited fashion for now and some new Statusbar commands and
functions have also been introduced in SSTreeVw.dll.
Enjoy!
Edit 1: 3/01/2003
Edit 2: 3/01/2003 _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it."
Last edited by ShinobiSoft on Sat Mar 01, 2003 4:30 pm; edited 2 times in total |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sat Mar 01, 2003 12:41 pm Post subject: |
|
|
For the people under us who don't want to search, you can download the SSTreeVw.dll here...
By the way, it looks pretty cool! |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 01, 2003 4:21 pm Post subject: |
|
|
It looks excellent! Great work.
... And if you want to view the description text at VDSWORLD you can
do so by clicking here _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Sat Mar 01, 2003 4:56 pm Post subject: |
|
|
Great extension. As to your second known issue: II. If menu hot-keys are defined, they won't work if the TreeView control has the focus.
This happens to all extensions which place external objects onto the vds dialog window. The reason for this is that the true Parent Window for the control isn't really the VDS Window, it's almost as if another Window get's glued onto the VDS dialog/window. So when you issue any hotkeys or even use a TAB key it won't go back to the VDS dialog/window since that external control has focus. The same applies if you try to use a hotkey or focus from an external control when you have a vds dialog object in focus.
The only thing I can think of with the RCLICK problem is that for some reason the sender of the event is being reported wrong. In delphi with most controls events they have a Sender: TObject; variable which contains the name of the control which sent the event. I don't know if such a thing exists in C (I am assuming your using C to make your dll's with because of the tiny dll footprint).
Also as for calling images from a VDS resource file, you simply need a FileStream to do this. The FileStream should be able to load from any offset you suggest and atleast in Delphi loads the resource up till it meets the end of the file or the start of a new one. |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Mar 01, 2003 5:10 pm Post subject: |
|
|
Thanks for the information PGWARE. You are correct about SSTreeVw.dll
being written in C. And I was wondering why I had that problem with the
menu hot-keys. Thanks for clarifying that for me.
The window procedure for the TreeView control doesn't return the name of
the control, just the handle, I have to retrieve the name from a
STRUCTURE that I've created to keep track of the controls that the dll
creates. I have not defined an identifier for the control, which I might have
to do. That might solve my problem, although I doubt it.
Anyway, thanks again. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Mar 01, 2003 10:24 pm Post subject: |
|
|
hi prakash,
that explains why when a grid (vdsobj02.dll) is active in my program, the hotkeys don't work
i had noticed that but didn't know why...until now
Serge _________________
|
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Sun Mar 02, 2003 12:58 am Post subject: |
|
|
Yup, there probably is some way to get the hotkeys as well as tabs, etc to work but I haven't found an easy way yet |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sun Mar 02, 2003 9:20 am Post subject: |
|
|
Can't you make a little thing just like Tommy's hotkey dll (included in VDSDLL3 if I remember right) ? Or isn't that easy enough? |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Mar 02, 2003 3:04 pm Post subject: |
|
|
btw. VDSHOT.DLL is contained in the VDSPACK.ZIP _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Sun Mar 02, 2003 6:37 pm Post subject: |
|
|
Yeah It's possible to make a global hotkey but then you need to create a hook so it monitors only when your application is active and generates an event, you don't want the hotkey to be issued if your app is not active just for a control. It's possible there is some work involved to get it to work, this still wouldn't solve the problem with the TAB tho |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Mar 04, 2003 7:48 am Post subject: |
|
|
Will we be able to get the item data? like @item()? Also, any chance
of double clicking with the left mouse button?
Basically, I'd like to be able to double click on a child's text, and then
have an event. Then be able to grab that item's text.
So far, I have not enountered any issues or bugs. Loading various
16x16 bmp's at 16 colors, and no problems with that. Created several
root folders, each with children, and all goes well.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 04, 2003 8:24 am Post subject: |
|
|
I'm not sure if this is a function I just implemeted in SSTreeVw.dll before
I posted the dll or not, but try this function:
%%item = @treeview(itemText,<treeVw name>,<item id>)
I may have forgotten to put this function in the SSTreeVw.txt file although I
do have it on paper. If it works, I'm sorry I forgot to put it in the text file.
As for your other question. I have added a LCLICK event and a DBLCLICK
event along with the existing RCLICK event. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 04, 2003 8:34 am Post subject: |
|
|
One thing I just noticed that I did leave out of the SSTreeVw.txt file is the
available color styles for an ImageList. They are as follows:
Code: |
color default
color4 creates a 4 color ImageList
color8 creates a 8 color ImageList
color16 creates a 16k color ImageList
color24 creates a 24k color ImageList
color32 creates a 32k color ImageList
colorDDB creates a Device Dependent Bitmap ImageList
mask creates a masked ImageList
|
_________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Mar 04, 2003 8:36 am Post subject: |
|
|
Thanks, I'll give it a run again with the new info.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Mar 04, 2003 8:43 am Post subject: |
|
|
Well this does the job!
Code: | %%item = @treeview(itemText,TV1,@treeview(item,TV1)) |
This is great. It's simple enough to use, does what it's intended to do
and doesn't seem to cause any ill effects. Thanks for making this and
sharing with us. I look forward to the rest of the click events.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
|