|
|
发表于 2009-6-19 09:07:15
|
显示全部楼层
来自: 中国广东深圳
在API中相关的说明如下:# D* v) a' a7 ]/ h& P
: H6 a/ t! I5 DComponentMoveNotify2 - AssemblyDoc Event
, F. ] G2 e8 G" F, ] 0 {3 f# v( Z* K5 o, M
Description( m8 b5 _+ S( o
: ]! |/ u2 m' k- }7 @% T& b' aPost-notification that is sent when a user releases the mouse button indicating that the components have been moved to the desired destination.
% O7 I4 R% P& B7 e8 {% d' w& L1 _: T4 h( y, S4 N: x
NOTE: If developing a C++ application, use swAssemblyComponentMoveNotify to register for this notification.
) T$ ~+ p& u9 C) \; A$ X! }& A( l% t! i R
status = ComponentMoveNotify2 ( Components As VARIANT) As Long: M [# m& N% _
# ^/ E! ]) L# w/ w
Input:1 w- M3 |# E1 K, K" A& h- V! j
(VARIANT) Components
: K* }5 O" w6 J SafeArray of the Component2 objects selected to be moved7 I- Q! r% u( R/ h, _4 I0 U$ x
& A$ g) U' J. f, y( qReturn:
4 {1 ^9 U' c+ `; F5 I (HRESULT) status
, \8 B; a$ Y3 f' _4 [ S_OK if successful |
|