|
|
发表于 2009-6-19 09:07:15
|
显示全部楼层
来自: 中国广东深圳
在API中相关的说明如下:- z2 n% p* Z$ W% v5 D
9 v& u+ @0 H. ^+ VComponentMoveNotify2 - AssemblyDoc Event
3 j: m5 f+ ]- W1 | 0 N3 ~5 N) K6 m; a; B8 W' ]
Description
2 e8 l- {! ?1 j3 q( \$ C0 F; ^! g% U+ V/ r% Q) {( \3 I# x
Post-notification that is sent when a user releases the mouse button indicating that the components have been moved to the desired destination. % ^+ v; L. y4 G% Q7 u4 [
) L/ F" O. N% CNOTE: If developing a C++ application, use swAssemblyComponentMoveNotify to register for this notification.
, v( v7 X: H- I! Y2 n4 ^0 f
6 k. L, W) D" {status = ComponentMoveNotify2 ( Components As VARIANT) As Long3 x0 E4 w# N4 N8 Y. T1 R
- w! D; q: L7 |. d$ j$ H: }Input: E, ~0 p2 N* c- f, U
(VARIANT) Components
4 a' t P; ~' r7 a" n- Y, d, k# e SafeArray of the Component2 objects selected to be moved: }0 W. ^4 u* r1 o x8 ?) H
' f3 P9 \8 u( l. s$ XReturn:
! b5 G/ s. B( W (HRESULT) status
9 ?9 J) t8 B" c4 O4 R S_OK if successful |
|