TBM_GETNUMTICS message
Retrieves the number of tick marks in a trackbar.
Parameters
-
wParam
- Must be zero.
-
lParam
- Must be zero.
Return value
If no tick flag is set, it returns 2 for the beginning and ending ticks. If TBS_NOTICKS is set, it returns zero. Otherwise, it takes the difference between the range minimum and maximum, divides by the tick frequency, and adds 2.
Remarks
The TBM_GETNUMTICS message counts all of the tick marks, including the first and last tick marks created by the trackbar.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for