Jump to content

SLM REMOVEDETENT

From EDM2

This message removes a previously specified detent. A detent is an indicator that represents a predefined value for a quantity and does not have to correspond to an increment of the slider.

Syntax

param1
ULONG ulDetentId;   /* Detent ID. */

param2
ULONG ulReserved;    /* Reserved value, should be 0. */

Parameters

ulDetentId (ULONG) - Input
Unique detent identifier for the detent that is to be removed from the slider.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Success indicator.
TRUE: Detent was successfully removed.
FALSE: An error occurred. The WinGetLastError function may return the following error:
PMERR_INVALID_PARAMETERS.

Remarks

The application uses this message to remove detents added previously to the slider to denote values that do not fall along an increment setting.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it other than to return FALSE.