[TBD]
Common methods apply to most windows, controls and resources.
ClearSel([REDRAW=1])
Clears the current selection.
ClearTics([REDRAW=1])
Removes the current tick marks. Does not remove the first and last tick marks.
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()
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()
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()
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()
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()
Retrieves an array of logical positions of the trackbar's tick marks, not including the first and last tick.
GetPos()
Retrieves the current logical position of the slider in a trackbar.
GetRangeMax()
Retrieves the maximum position for the slider in a trackbar.
GetRangeMin()
Retrieves the minimum position for the slider in a trackbar.
GetSelEnd()
Retrieves the ending position of the current selection range in a trackbar.
GetSelStart()
Retrieves the starting position of the current selection range in a trackbar.
GetThumbLength()
Retrieves the length of the slider in a trackbar.
GetThumbRect()
Retrieves the bounding rectangle for the slider in a trackbar.
GetTic(index)
Retrieves the logical position of a tick mark in a trackbar or -1 for a valid index.
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()
Retrieves the handle to the tooltip control assigned to the trackbar, if any.
GetUnicodeFormat()
Retrieves the UNICODE character format flag for the control.
Max([VALUE],[REDRAW=1])
Set or Get maximal logical position for the slider in a trackbar
Min([VALUE],[REDRAW=1])
Set or Get minimum logical position for the slider in a trackbar
Pos([VALUE],[REDRAW=1])
Set or Get maximum logical position for the slider in a trackbar
SelEnd([VALUE],[REDRAW=1])
Set or Get the starting logical position of the current selection range in a trackbar.
SelStart([VALUE],[REDRAW=1])
Set or Get the starting logical position of the current selection range in a trackbar.
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([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([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(POSITION, [REDRAW=TRUE])
Sets the current logical position of the slider in a trackbar.
SetRange([MIN=0], MAX, [REDRAW=TRUE])
Sets the range of minimum and maximum logical positions for the slider in a trackbar.
SetRangeMax(MAX, [REDRAW=TRUE])
Sets the maximum logical position for the slider in a trackbar.
SetRangeMin(MIN, [REDRAW=TRUE])
Sets the minimum logical position for the slider in a trackbar.
SetSel([MIN=0], MAX, [REDRAW=TRUE])
Sets the starting and ending logical positions for the current selection range in a trackbar.
SetSelEnd(END, [REDRAW=TRUE])
Sets the ending logical position of the current selection range in a trackbar.
SetSelStart(START, [REDRAW=TRUE])
Sets the starting logical position of the current selection range in a trackbar.
SetThumbLength(SIZE)
Sets the length of the slider in a trackbar.
SetTic(POSITION)
Sets a tick mark in a trackbar at the specified logical position.
SetTicFreq(POSITION)
Sets the interval frequency for tick marks in a trackbar.
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(HWND)
Assigns a tooltip control to a trackbar control.
SetUnicodeFormat(FLAG)
Sets the UNICODE character format flag for the control.
Common events apply to most windows and controls.
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
Documentation for Win32::GUI v1.06 created 13 Feb 2008
This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.
Homepage: http://perl-win32-gui.sourceforge.net/.
For further support join the users mailing list(perl-win32-gui-users@lists.sourceforge.net
) from the website
at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/mail/.
Copyright (c) 1997..2008 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.