|
|
发表于 2009-6-19 09:07:15
|
显示全部楼层
来自: 中国广东深圳
在API中相关的说明如下:
- g" @0 M/ |; {6 C, O; @/ \
3 K+ W0 a0 Z: o* y* Q: _8 DComponentMoveNotify2 - AssemblyDoc Event
& g+ H k% Y( o) S! ~* F$ g
* C: ], x4 n: Y8 EDescription ?$ W5 K; ?. p: l% B7 C: }! V- U
3 X! J6 Y. A+ N) C1 @Post-notification that is sent when a user releases the mouse button indicating that the components have been moved to the desired destination. : s$ i, @8 P4 D
9 f6 p: p1 Z' H
NOTE: If developing a C++ application, use swAssemblyComponentMoveNotify to register for this notification.
, C) I4 _5 d3 f9 a1 d
% x1 P6 Q& L, T( t2 O) g$ j$ G4 Ustatus = ComponentMoveNotify2 ( Components As VARIANT) As Long- l7 s5 \7 v! M0 ~
8 p6 z! s7 _& ]Input:
' l1 @9 b9 ?7 O$ M2 r% d (VARIANT) Components
, ~! U4 J {* c; I! b SafeArray of the Component2 objects selected to be moved
; `" T0 I z0 Y5 J% f8 X X P! h, u( S
0 [+ v" `, R9 U" ^3 K$ vReturn:# j0 X3 b# x- `: m7 q
(HRESULT) status& y% D% |8 K4 }- N- V
S_OK if successful |
|