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 


Position of List Selection

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Tue Jul 27, 2004 1:08 pm    Post subject: Position of List Selection Reply with quote

Hi,

is there a way to get the exact position (top, left, widht and height) of a selection in a table element ?
I was thinking about multiplicating the table-item-height with the count of items, but maybe there is a way thats more exactly ?

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Jul 27, 2004 7:26 pm    Post subject: Reply with quote

XTools,
Take a look at the following Win32 API message ID's LVM_GETITEMRECT and LVM_GETSUBITEMRECT since the VDS Table element is actually a ListView control in Windows. Sorry I don't have time to build an example using these messages with VDS @Sendmsg but I am sure if you have a problem someone here should be able to help you out.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Wed Jul 28, 2004 6:16 am    Post subject: Reply with quote

Hi,

thanks for that info.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Jul 29, 2004 1:00 pm    Post subject: Reply with quote

XTools,
Maybe if CodeScript has some time he could add this to his VDS TABLE Control API DSU if these are not already a part of his *.DSU Idea Question Anyway I hope that helps. Also there is always VDSOBJ's string grid control that would probally be more suited for what your trying to do since it is a true Grid and the VDS TABLE is just a ListView control which has many limitations when compared to a Grid control.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Thu Jul 29, 2004 1:53 pm    Post subject: Reply with quote

Hi,

thanks for your answer.
I am already working with both list / grid controls. I will see what will work for me. Wink

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
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