Jump to content

SLM REMOVEDETENT

From EDM2
Revision as of 23:15, 20 April 2025 by Martini (talk | contribs) (Created page with "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== <PRE> param1 ULONG ulDetentId; Detent ID.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;ulDetentId (ULONG) - Input : Unique detent identifier for the detent that is to be removed from the slider. ;ulReserved (ULONG)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.