1. Trang chủ
  2. » Công Nghệ Thông Tin

AutoIT Help part 136 pot

5 136 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 27,11 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

$UDS_ALIGNLEFT 0x08 Positions the up-down control next to the left edge of the buddy window.. The buddy window is moved to the right and its width is decreased to accommodate the width o

Trang 1

Progress Bar

$PBS_SMOOTH 0x01 Displays progress status in a smooth scrolling bar

instead of the default segmented bar

$PBS_VERTICAL 0x04 Displays progress status vertically, from bottom to

top

GUICtrlCreateUpdown function

$UDS_ALIGNLEFT 0x08

Positions the up-down control next to the left edge of the buddy window The buddy

window is moved to the right and its width is decreased to accommodate the width of the up-down control

$UDS_ALIGNRIGHT 0x04

Positions the up-down control next to the right edge of the buddy window The width of the buddy window is decreased to accommodate the width of the up-down control

$UDS_ARROWKEYS 0x20

Causes the up-down control to process the UP ARROW and DOWN ARROW keys on the keyboard

$UDS_HORZ 0x40 Causes the up-down control’s arrows to point

left and right instead of up and down

$UDS_NOTHOUSANDS 0x80 Prevents insertion of a thousands separator

between every three decimal positions

$UDS_WRAP 0x01 Causes the position to wrap if it is

Trang 2

incremented or decremented beyond the end

or beginning of the range

Label/Static Styles Value Description

$GUI_SS_DEFAULT_LABEL,

$GUI_SS_DEFAULT_ICON,

$GUI_SS_DEFAULT_PIC see GUICtrlCreateLabel, GUICtrlCreateIcon, GUICtrlCreatePic functions

Specifies a box with a frame drawn in the same color as the window frames This color is black in the default color scheme

Specifies a rectangle filled with the current window frame color This color is black in the default color scheme

Specifies a simple rectangle and centers the error value text in the rectangle The control automatically wraps words that extend past the end of a line to the beginning of the next centered line

Specifies that the midpoint of a static control with the SS_BITMAP style will remain fixed when you resize the control The four sides are adjusted to

accommodate a new bitmap If the bitmap is smaller than the control’s client area, the rest of the client area is filled with the color of the pixel in the upper-left corner of the bitmap It can be used

with static control having only one line

of text

Microsoft Windows XP: This style bit no

Trang 3

longer results in unused portions of the control being filled with the color of the top left pixel of the bitmap or icon

Unused portions of the control will remain the background color

$SS_ETCHEDFRAME 0x12 Draws the frame of the static control

using the EDGE_ETCHED edge style

Draws the top and bottom edges of the static control using the EDGE_ETCHED edge style

Draws the left and right edges of the static control using the EDGE_ETCHED edge style

Specifies a box with a frame drawn with the same color as the screen background (desktop) This color is gray in the default color scheme

Specifies a rectangle filled with the current screen background color This color is gray in the default color scheme

Specifies a simple rectangle and left-aligns the text in the rectangle The text is formatted before it is displayed Words that extend past the end of a line are automatically wrapped to the beginning

of the next left-aligned line Words that are longer than the width of the control are truncated

$SS_LEFTNOWORDWRAP 0x0C

Specifies a rectangle and left-aligns the text in the rectangle Tabs are expanded, but words are not wrapped Text that extends past the end of a line is clipped

Prevents interpretation of any ampersand (&) characters in the control’s text as accelerator prefix characters

An application can combine

Trang 4

SS_NOPREFIX with other styles by using the bitwise OR (|) operator This can be useful when file names or other strings that might contain an ampersand (&) must be displayed within a static control in a dialog box

Sends the parent window the STN_CLICKED notification when the user clicks the control

$SS_RIGHT 0x0002 Specifies a rectangle and right-aligns the

specified text in the rectangle

Specifies that the lower right corner of a static control with the SS_BITMAP or SS_ICON style is to remain fixed when the control is resized Only the top and left sides are adjusted to accommodate a new bitmap or icon

Specifies a simple rectangle and displays

a single line of left-aligned text in the rectangle The text line cannot be shortened or altered in any way Also, if the control is disabled, the control does not gray its text

$SS_SUNKEN 0x1000 Draws a half-sunken border around a

static control

Specifies a box with a frame drawn with the same color as the window

background This color is white in the default color scheme

Specifies a rectangle filled with the current window background color This color is white in the default color

scheme

Trang 5

Tab Styles Value Description

Default/forced see GUICtrlCreateTab function

$TCS_SCROLLOPPOSITE 0x0001 Unneeded tabs scroll to the opposite side

of the control when a tab is selected

Tabs appear at the bottom of the control This value equals TCS_RIGHT This style is not supported if you use ComCtl32.dll version 6

Tabs appear vertically on the right side of controls that use the TCS_VERTICAL style This value equals TCS_BOTTOM This style is not supported if you use visual styles

$TCS_MULTISELECT 0x0004

Multiple tabs can be selected by holding down CTRL when clicking This style must be used with the TCS_BUTTONS style

$TCS_FLATBUTTONS 0x0008

Selected tabs appear as being indented into the background while other tabs appear as being on the same plane as the background This style only affects tab controls with the TCS_BUTTONS style

$TCS_FORCEICONLEFT 0x0010

Icons are aligned with the left edge of each fixed-width tab This style can only

be used with the TCS_FIXEDWIDTH style

$TCS_FORCELABELLEFT 0x0020

Labels are aligned with the left edge of each fixed-width tab; that is, the label is displayed immediately to the right of the icon instead of being centered

This style can only be used with the TCS_FIXEDWIDTH style, and it implies the TCS_FORCEICONLEFT style

Ngày đăng: 02/07/2014, 17:21

TỪ KHÓA LIÊN QUAN