In this example you can see the Drag'n Drop Code taken from the SMPOV Scripting Interface. This is just one example of the various changes.

Code "Drop.rem" before Version 0.7

 

Code "Drop.rem" from Version 0.7

MAF\
VAR\$$FIL=$$_01
BLB\$$FIL
VAR\$$PTH=$v1$
ALB\$$FIL
VAR\$$FIN=$v1$
EXX\$$EXC|$$PTH
WMS\$v4$
:aga
WII\
IEW\1\cabinetwclass\*
TDL\10
ELSE
GOTO aga
EEW\
WMS\
KTH\MYE
WTM\
SWP\1,1|442,241
SPC\syslistview32\*
LVS\si
SHL\99
WII\
IEI\$$FIN&&
VAR\$$FIX=$$FIN
ELSE
GFT\\$$FIN
VAR\$$FIX=$v3$
EEI\
LVI\$$FIX&&
WII\
MMV\
WII\
MLD\ ' MouseLeftDown this is the Drag
MMV\R6U5
TDL\10
MMV\R6U5
TDL\5
STW\#32770\smpov version 4
SWP\0,0|794,593
TDL\100

GCW\1025\1\listbox\*
MPO\
MLU\ ' MouseLeftUp this is the Drop
RTH\MYE
CLW\1
RAF\
@

MAF\
VAR\$$FIL=$$_01
BLB\$$FIL
VAR\$$PTH=$v1$
ALB\$$FIL
VAR\$$FIN=$v1$
EXX\$$EXC|$$PTH
WMS\$v4$
:aga
WII\
IEW\1\cabinetwclass\*
TDL\10
ELSE
GOTO aga
EEW\
WMS\
KTH\MYE
WTM\
SWP\1,1|442,241
SPC\syslistview32\*
LVS\li
WII\
SKP\{F5}
WII\

SHL\99
WII\
IEI\$$FIN&&
VAR\$$FIX=$$FIN
ELSE
GFT\\$$FIN
VAR\$$FIX=$v3$
EEI\
LVI\$$FIX&&
WII\
MMV\
WII\
MLD\ ' MouseLeftDown this is the Drag
MMV\R6U5
TDL\10
MMV\R6U5
TDL\5
STW\#32770\smpov version 4
SWP\0,0
TDL\100

GCW\1025\1\listbox\*
MPO\
MLU\ ' MouseLeftUp this is the Drop
WII\
TDL\100
RTH\MYE
CLW\1
RAF\
@

 
 
Hits | Theo Gottwald * Wolfartsweierer Str.1 * 76131 Karlsruhe | Telefon (07 21) 9 66 33-00 | Fax (07 21) 9 66 33-99 |yInfo@it-berater.org | Stand: 01/27/2004