SAM_DragCanAutoStart is sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture. sends this message to ask a window whether it wants auto dragging. Return TRUE to enable auto dragging. If you do not process this message or you return FALSE, then does not enable auto dragging. starts drag mode automatically when the application returns TRUE from SAM_DragCanAutoStart. This is the minimum that an application does to let a user drag from a window. However, you must write additional code to do something when the user drops in a window. Message Variables hWndForm Handle of top-level window. hWndItem Window handle of the source window. wParam Position of the mouse on the X axis. IParam Position of the mouse on the Y axis. Example List Box: lb1 ... Background Color: White List Initialization Text: Value 1 ... Message Actions On SAM_DragCanAutoStar

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_DragCanAutoStart

See Also