NAME
Win32::GUI::Trackbar - A Win32::GUI package
DESCRIPTION
[TBD]
METHODS
Common methods apply to most windows, controls and resources.
ClearSel
ClearSel([REDRAW=1])
Clears the current selection.
ClearTics
ClearTics([REDRAW=1])
Removes the current tick marks. Does not remove the first and last tick marks.
GetBuddy
GetBuddy(LOCATION)
Retrieves the handle to a trackbar control buddy window at a given location.
The specified location is relative to the control's orientation (horizontal or vertical).
B<LOCATION> = FALSE : Retrieves buddy to the right of the trackbar (or below for vertical trackbar)
B<LOCATION> = TRUE : Retrieves buddy to the left of the trackbar (or above for vertical trackbar)
GetChannelRect
GetChannelRect()
Retrieves the bounding rectangle for a trackbar's channel. The channel is the area over which the slider moves. It contains the highlight when a range is selected.
GetLineSize
GetLineSize()
Retrieves the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys, such as the RIGHT ARROW or DOWN ARROW keys.
GetNumTics
GetNumTics()
Retrieves the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys, such as the RIGHT ARROW or DOWN ARROW keys.
GetPageSize
GetPageSize()
Retrieves the number of logical positions the trackbar's slider moves in response to keyboard input, such as the PAGE UP or PAGE DOWN keys, or mouse input, such as clicks in the trackbar's channel.
GetPics
GetPics()
Retrieves an array of logical positions of the trackbar's tick marks, not including the first and last tick.
GetPos
GetPos()
Retrieves the current logical position of the slider in a trackbar.
GetRangeMax
GetRangeMax()
Retrieves the maximum position for the slider in a trackbar.
GetRangeMin
GetRangeMin()
Retrieves the minimum position for the slider in a trackbar.
GetSelEnd
GetSelEnd()
Retrieves the ending position of the current selection range in a trackbar.
GetSelStart
GetSelStart()
Retrieves the starting position of the current selection range in a trackbar.
GetThumbLength
GetThumbLength()
Retrieves the length of the slider in a trackbar.
GetThumbRect
GetThumbRect()
Retrieves the bounding rectangle for the slider in a trackbar.
GetTic
GetTic(index)
Retrieves the logical position of a tick mark in a trackbar or -1 for a valid index.
GetTicPos
GetTicPos(index)
Retrieves the distance, in client coordinates, from the left or top of the trackbar's client area of a tick mark in a trackbar or -1 for a valid index.
GetToolTips
GetToolTips()
Retrieves the handle to the tooltip control assigned to the trackbar, if any.
GetUnicodeFormat
GetUnicodeFormat()
Retrieves the UNICODE character format flag for the control.
Max
Max([VALUE],[REDRAW=1])
Set or Get maximal logical position for the slider in a trackbar
Min
Min([VALUE],[REDRAW=1])
Set or Get minimum logical position for the slider in a trackbar
Pos
Pos([VALUE],[REDRAW=1])
Set or Get maximum logical position for the slider in a trackbar
SelEnd
SelEnd([VALUE],[REDRAW=1])
Set or Get the starting logical position of the current selection range in a trackbar.
SelStart
SelStart([VALUE],[REDRAW=1])
Set or Get the starting logical position of the current selection range in a trackbar.
SetBuddy
SetBuddy(LOCATION, HWND)
Assigns a window as the buddy window for a trackbar control Returns the handle to the window that was previously assigned to the control at that location The specified location is relative to the control's orientation (horizontal or vertical). LOCATION = FALSE : Retrieves buddy to the right of the trackbar (or below for vertical trackbar) LOCATION = TRUE : Retrieves buddy to the left of the trackbar (or above for vertical trackbar)
SetLineSize
SetLineSize([SIZE=1])
Sets the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys, such as the RIGHT ARROW or DOWN ARROW keys.
SetPageSize
SetPageSize([SIZE=10])
Sets the number of logical positions the trackbar's slider moves in response to keyboard input, such as the PAGE UP or PAGE DOWN keys, or mouse input, such as clicks in the trackbar's channel.
SetPos
SetPos(POSITION, [REDRAW=TRUE])
Sets the current logical position of the slider in a trackbar.
SetRange
SetRange([MIN=0], MAX, [REDRAW=TRUE])
Sets the range of minimum and maximum logical positions for the slider in a trackbar.
SetRangeMax
SetRangeMax(MAX, [REDRAW=TRUE])
Sets the maximum logical position for the slider in a trackbar.
SetRangeMin
SetRangeMin(MIN, [REDRAW=TRUE])
Sets the minimum logical position for the slider in a trackbar.
SetSel
SetSel([MIN=0], MAX, [REDRAW=TRUE])
Sets the starting and ending logical positions for the current selection range in a trackbar.
SetSelEnd
SetSelEnd(END, [REDRAW=TRUE])
Sets the ending logical position of the current selection range in a trackbar.
SetSelStart
SetSelStart(START, [REDRAW=TRUE])
Sets the starting logical position of the current selection range in a trackbar.
SetThumbLength
SetThumbLength(SIZE)
Sets the length of the slider in a trackbar.
SetTic
SetTic(POSITION)
Sets a tick mark in a trackbar at the specified logical position.
SetTicFreq
SetTicFreq(POSITION)
Sets the interval frequency for tick marks in a trackbar.
SetTipSide
SetTipSide(LOCATION)
Positions a tooltip control used by a trackbar control. TBTS_TOP : The tooltip control will be positioned above the trackbar. This flag is for use with horizontal trackbars. TBTS_LEFT The tooltip control will be positioned to the left of the trackbar. This flag is for use with vertical trackbars. TBTS_BOTTOM The tooltip control will be positioned below the trackbar. This flag is for use with horizontal trackbars. TBTS_RIGHT The tooltip control will be positioned to the right of the trackbar. This flag is for use with vertical trackbars.
SetToolTips
SetToolTips(HWND)
Assigns a tooltip control to a trackbar control.
SetUnicodeFormat
SetUnicodeFormat(FLAG)
Sets the UNICODE character format flag for the control.
EVENTS
Common events apply to most windows and controls.
Scroll
Scroll(SCROLLBAR, OPERATION, POSITION)
Sent when one of the window scrollbars is moved. SCROLLBAR identifies which bar was moved, 0 for horizontal and 1 for vertical.
OPERATION can be compared against one of the following constants:
SB_LINEUP, SB_LINELEFT, SB_LINEDOWN, SB_LINERIGHT, SB_PAGEUP
SB_PAGELEFT, SB_PAGEDOWN, SB_PAGERIGHT, SB_THUMBPOSITION,
SB_THUMBTRACK, SB_TOP, SB_LEFT, SB_BOTTOM, SB_RIGHT, SB_ENDSCROLL
VERSION
Documentation for Win32::GUI v1.14 created 01 Jun 2017
This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.
SUPPORT
Homepage: http://perl-win32-gui.sourceforge.net/.
For further support join the users mailing list from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/.
COPYRIGHT and LICENCE
Copyright (c) 1997..2017 Aldo Calpini. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.