IT-Programing Help part 135 ppt

5 149 0
IT-Programing Help part 135 ppt

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

Thông tin tài liệu

Progress Bar Styles Value Description #include <ProgressConstants.au3> $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. Up-down Styles Value Description #include <UpdownConstants.au3> Default/forced $GUI_SS_DEFAULT_UPDOWN see 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 incremented or decremented beyond the end or beginning of the range. Label/Static Styles Value Description #include <StaticConstants.au3> Default/forced $GUI_SS_DEFAULT_LABEL, $GUI_SS_DEFAULT_ICON, $GUI_SS_DEFAULT_PIC see GUICtrlCreateLabel, GUICtrlCreateIcon , GUICtrlCreatePic functions. $SS_BLACKFRAME 0x07 Specifies a box with a frame drawn in the same color as the window frames. This color is black in the default color scheme. $SS_BLACKRECT 0x04 Specifies a rectangle filled with the current window frame color. This color is black in the default color scheme. $SS_CENTER 0x01 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. $SS_CENTERIMAGE 0x0200 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 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. $SS_ETCHEDHORZ 0x10 Draws the top and bottom edges of the static control using the EDGE_ETCHED edge style. $SS_ETCHEDVERT 0x11 Draws the left and right edges of the static control using the EDGE_ETCHED edge style. $SS_GRAYFRAME 0x08 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 $SS_GRAYRECT 0x05 Specifies a rectangle filled with the current screen background color. This color is gray in the default color scheme. $SS_LEFT 0x0000 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. $SS_NOPREFIX 0x80 Prevents interpretation of any ampersand (&) characters in the control’s text as accelerator prefix characters. An application can combine 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. $SS_NOTIFY 0x0100 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. $SS_RIGHTJUST 0x0400 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. $SS_SIMPLE 0x0B 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. $SS_WHITEFRAME 0x09 Specifies a box with a frame drawn with the same color as the window background. This color is white in the default color scheme. $SS_WHITERECT 0x06 Specifies a rectangle filled with the current window background color. This color is white in the default color scheme. Tab Styles Value Description #include <TabConstants.au3> Default/forced see GUICtrlCreateTab function. $TCS_SCROLLOPPOSITE 0x0001 Unneeded tabs scroll to the opposite side of the control when a tab is selected. $TCS_BOTTOM 0x0002 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. $TCS_RIGHT 0x0002 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: 05/07/2014, 07:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan