Jump to content

MLM SETTABSTOP: Difference between revisions

From EDM2
Created page with "This message sets the pel interval at which tab stops are placed. ==Syntax== <pre> param1 PIX pixTab; Pel interval for tab stops.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==Parameters== ;''pixTab'' (PIX) - input: Pel interval for tab stops. ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ==Returns== ;''pixTabset'' (PIX) - returns: Success indicator. :< 0: An error occurred. :Other: The value to which the wid..."
 
 
Line 21: Line 21:
==Remarks==
==Remarks==
This message fails if the reserved value is not 0.
This message fails if the reserved value is not 0.
This message can cause an overflow, see [[MLN_OVERFLOW]].
This message can cause an overflow, see MLN_OVERFLOW.


==Default Processing==
==Default Processing==

Latest revision as of 17:04, 15 April 2025

This message sets the pel interval at which tab stops are placed.

Syntax

param1
    PIX   pixTab;     /* Pel interval for tab stops. */

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

Parameters

pixTab (PIX) - input
Pel interval for tab stops.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

pixTabset (PIX) - returns
Success indicator.
< 0: An error occurred.
Other: The value to which the width was set.

Remarks

This message fails if the reserved value is not 0. This message can cause an overflow, see MLN_OVERFLOW.

Default Processing

The default window procedure takes no action on this message, other than to set pixTabset to 0.