ISolpackCard::CanDrag Property
Sets or retrieves whether the card can be dragged.
Syntax:
HRESULT get_CanDrag(
VARIANT_BOOL *pbCanDrag
);
HRESULT put_CanDrag(
VARIANT_BOOL bCanDrag
);
Parameters:
- pbCanDrag
- Address of a VARIANT_BOOL variable to receive whether the card can be dragged.
- bCanDrag
- A VARIANT_BOOL variable specifying whether the card can be dragged.
Return Value:
Returns S_OK if successful, or an error value otherwise.
Remarks:
By default, this property is false.
This property signifies whether the user can initiate a drag operation with this card. The games's
SetupFragment method will be called if this property is true for the card
the user starts to drag.
This property does not affect whether the card can be programmatically added to a fragment.
|