Метод | Описание | |
---|---|---|
CompleteDrag ( ) : void |
Completes a drag operation.
|
|
Dispose ( ) : void |
Clears up any resources associated with this object. Note there are only resources associated when there is a drag operation in effect.
|
|
DragDrop ( ) : void |
Shows the ImageList drag image at the current dragging position.
|
|
HideDragImage ( bool state ) : void |
Shows or hides the drag image. This is used to prevent painting problems if the area under the drag needs to be repainted.
|
|
ImageListDrag ( ) : System |
Constructs a new instance of the ImageListDrag class.
|
|
StartDrag ( int imageIndex ) : void |
Starts a dragging operation which will use an ImageList to create a drag image and defaults the position of the image to the cursor's drag point.
|
|
StartDrag ( int imageIndex, int xOffset, int yOffset ) : void |
Starts a dragging operation which will use an ImageList to create a drag image and allows the offset of the Image from the drag position to be specified.
|
Метод | Описание | |
---|---|---|
ImageList_BeginDrag ( |
||
ImageList_DragEnter ( |
||
ImageList_DragLeave ( |
||
ImageList_DragMove ( int X, int Y ) : int | ||
ImageList_DragShowNolock ( int fShow ) : int | ||
ImageList_EndDrag ( ) : void | ||
ImageList_GetDragImage ( POINTAPI &ppt, POINTAPI &pptHotspot ) : int | ||
ImageList_SetDragCursorImage ( |
public HideDragImage ( bool state ) : void | ||
state | bool | True to hide the drag image and /// allow repainting, False to show the drag image. |
Результат | void |
public StartDrag ( int imageIndex ) : void | ||
imageIndex | int | The index of the image in /// the ImageList to use for the drag image. |
Результат | void |
public StartDrag ( int imageIndex, int xOffset, int yOffset ) : void | ||
imageIndex | int | The index of the image in /// the ImageList to use for the drag image. |
xOffset | int | The horizontal offset of the drag image /// from the drag position. Negative values move the image /// to the right of the cursor, positive values move it /// to the left. |
yOffset | int | The vertical offset of the drag image /// from the drag position. Negative values move the image /// below the cursor, positive values move it above. |
Результат | void |