AnsweredAssumed Answered

vrf Antwort: Activex ListView - TreeView

Question asked by VRFuser on Mar 18, 2003

thanks for the tricky solution

Viele Gre
Best regards

i. A.

Stefan Feuerecker  Dipl.Ing. (FH)
Entwicklung Testsysteme
Testing Device Construction

_______________________________________________________
bebro electronic   GmbH
Max-Planck-Str. 6-8   -  D   72636 Frickenhausen

Tel.: +49 (0) 70 22 - 40 03 - 144   -   Fax.: +49 (0) 70 22 - 4 27 72
E-Mail: s.feuerecker@bebro.de   -   Internet: http://www.bebro.de



|---------+---------------------------->
|         |           <g.nied@gn-softwa|
|         |           re.de>           |
|         |                            |
|         |           19.03.2003 11:46 |
|         |           Bitte antworten  |
|         |           an g.nied        |
|         |                            |
|---------+---------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |       An:       "VEE vrf" <vrf@it.lists.it.agilent.com>                                                                       |
  |       Kopie:                                                                                                                  |
  |       Thema:    [vrf] Re: Activex ListView - TreeView                                                                         |
  >-------------------------------------------------------------------------------------------------------------------------------|




Stefan,

vee has great difficulties whith this 'nothing' objects.
The easiest thing is to use visual basic instead: just use a VB scrift to
do this job for you. I changed your code so that the mouse event launches a
vb script.
BTW: the x,y coordinates returned by the Maouse function are in pixels,
whereas the Hit() function deals with twips coordinates which are depending
on the screen resolution. Therefore your factor of 12 is only valid for
your screen resolution (mine was 15).
I implemented a way to calc the needed factors.
Remember that you do not have to convert pixels to twips if you use the
dragging events, cause they return twips, not pixels.

best regards,

G. Nied

-------------------------------------------------------------------------
Georg Nied  - Software-Development - Hansestr.7 - 51149 Cologne - Germany
Tel: +49 2203 9770915 - Fax: +49 2203 9770924 - eMail:info@gn-software.de
-------------------------------------------------------------------------

---
You are currently subscribed to vrf as: s.feuerecker@bebro.de
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".






---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes