|
|
发表于 2009-6-19 09:07:15
|
显示全部楼层
来自: 中国广东深圳
在API中相关的说明如下:
- M% b1 R8 i2 ?/ n: Z4 a0 G/ S( z+ U6 b$ e8 d' _) L0 ?, K
ComponentMoveNotify2 - AssemblyDoc Event
9 I+ W0 J, Q* I1 U. W2 e& D1 O
l8 v( z t! L6 uDescription- ^9 Y% X: v8 v
* [$ @- q+ h4 {! w
Post-notification that is sent when a user releases the mouse button indicating that the components have been moved to the desired destination.
' b* @* ?. y% T" E; a. |) f- g' `# L
8 x* w3 a# k6 dNOTE: If developing a C++ application, use swAssemblyComponentMoveNotify to register for this notification.
; c& P- h, n5 P }2 ]% b9 {0 X m$ r& M
status = ComponentMoveNotify2 ( Components As VARIANT) As Long
0 `+ s, |# ^2 g2 W6 v9 X+ I6 r8 X' g& \, c( n7 v% U
Input:5 c% d. A1 Q7 V; S3 U2 Q
(VARIANT) Components
& O% ~% I( x7 m: O0 R' w SafeArray of the Component2 objects selected to be moved
& {* P, e$ E* f- ~) |
5 o \5 S7 {" E4 N# G4 eReturn:
( w; ~6 K, w V- t5 H (HRESULT) status
* @( |1 K8 m- N S_OK if successful |
|