SPBM_SETTEXTLIMIT
Appearance
This message sets the maximum number of characters allowed in a spin field.
Syntax
param1 USHORT usLimit; /* Character limit. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- usLimit (USHORT) - input
- Character limit.
- Number of characters to allow.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (BOOL) - return
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
Remarks
The application sends this message to set the maximum number of characters allowed in the spin field. The size limit of the spin field is 255 characters. This is the default. When the size exceeds 255 characters, FALSE is returned.
Default Processing
The default window procedure does not expect to receive this message and takes no action other than to return FALSE.