Drag and Drop

Chris Kelleher

Administrator
Staff member
I have attemped using the information specified in the Help for
ComCtl32.ocx for drag and drop and can get it to work without adjustment
in VB. When I attempt to use the exact method in Progress, the TreeView
control does not work. Does anyone know why Progress cannot find where
I am dragging using the HitTest method.

Thanks in advance.
Loris Stellato
ProStar Consulting Ltd.
 

Chris Kelleher

Administrator
Staff member
You need to convert between TWIPs and PIXELs as progress returns the
x/y positions in one of them and the HitTest method needs the values in the
other unit.
The search facility on Jurgen's site will give you some details on
the conversion.

http://home.wxs.nl/~jurjen.dijkstra/api/index.html
<http://home.wxs.nl/~jurjen.dijkstra/api/index.html>


Mick Hand
Senior Technical Consultant
OpenAccounts plc
Mick@openaccounts.com <mailto:Mick@openaccounts.com>
 
Top