forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


SSTreeVw.dll BETA released
Goto page 1, 2, 3, 4  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 01, 2003 5:58 am    Post subject: SSTreeVw.dll BETA released Reply with quote

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! Smile Cool

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Mar 01, 2003 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 01, 2003 4:21 pm    Post subject: Reply with quote

It looks excellent! Great work. Very Happy

... 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
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1543

PostPosted: Sat Mar 01, 2003 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 01, 2003 5:10 pm    Post subject: Reply with quote

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. Smile

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Mar 01, 2003 10:24 pm    Post subject: Reply with quote

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 Smile

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1543

PostPosted: Sun Mar 02, 2003 12:58 am    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Mar 02, 2003 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Mar 02, 2003 3:04 pm    Post subject: Reply with quote

btw. VDSHOT.DLL is contained in the VDSPACK.ZIP Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1543

PostPosted: Sun Mar 02, 2003 6:37 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Mar 04, 2003 7:48 am    Post subject: Reply with quote

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.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Tue Mar 04, 2003 8:24 am    Post subject: Reply with quote

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. Sad

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Tue Mar 04, 2003 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Mar 04, 2003 8:36 am    Post subject: Reply with quote

Thanks, I'll give it a run again with the new info. Smile

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Mar 04, 2003 8:43 am    Post subject: Reply with quote

Well this does the job! Smile

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. Smile


-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group