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

Giáo Trình How To Use AutoIt A Professional Manner part 132 pot

5 117 0

Đ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 24,3 KB

Nội dung

$WS_THICKFRAME 0x00040000 Creates a window that has a sizing border. Same as the WS_SIZEBOX style $WS_VSCROLL 0x00200000 Creates a window that has a vertical scroll bar. $WS_VISIBLE 0x10000000 Creates a window that is initially visible. $WS_CHILD 0x40000000 Creates a child window. A window with this style cannot have a menu bar. This style cannot be used with the WS_POPUP style. $WS_GROUP 0x00020000 Specifies the first control of a group of controls. The group consists of this first control and all controls defined after it, up to the next control with the WS_GROUP style. $WS_TABSTOP 0x00010000 Turns the control into a tab stop, which enables the user to select the control by tabbing through the controls in a dialog box. $DS_MODALFRAME 0x00000080 Creates a dialog box with a modal dialog-box frame that can be combined with a title bar and window menu by specifying the WS_CAPTION and WS_SYSMENU styles. $DS_SETFOREGROUND 0x00000200 This style is useful for modal dialog boxes that require immediate attention from the user regardless of whether the owner window is the foreground window. $DS_CONTEXTHELP 0x00002000 Includes a question mark in the title bar of the dialog box. Cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles. Same as WS_EX_CONTEXTHELP extended style. Common Extended Styles Value Description #include <WindowsConstants.au3> $WS_EX_ACCEPTFILES 0x00000010 Allow an edit or input control within the created GUI window to receive filenames via drag and drop. The control must have also the $GUI_DROPACCEPTED state set by GUICtrlSetState. $WS_EX_APPWINDOW 0x00040000 Forces a top-level window onto the taskbar when the window is visible. $WS_EX_CLIENTEDGE 0x00000200 Specifies that a window has a border with a s unken edge. $WS_EX_CONTEXTHELP 0x00000400 Includes a question mark in the title bar of the window. Cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX $WS_EX_DLGMODALFRAME 0x00000001 Creates a window that has a double border; the window can, optionally, be created with a title bar by specifying the WS_CAPTION style in the dwStyle parameter. $WS_EX_MDICHILD 0x00000040 Create a child window that will be moved with its parent.(simulation of a MDI window maximize/minimize are not simulated). $WS_EX_OVERLAPPEDWINDOW 0x00000300 Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles. $WS_EX_STATICEDGE 0x00020000 Creates a window with a three-dimensional border style intended to be used for items that do not accept user input. $WS_EX_TOPMOST 0x00000008 Specifies that a window created with this style should be placed above all non-topmost windows and should stay above them, even when the window is deactivated. $WS_EX_TRANSPARENT 0x00000020 The window appears transparent because the bits of underlying sibling windows have already been painted. $WS_EX_TOOLWINDOW 0x00000080 Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog box that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by typing ALT+SPACE. $WS_EX_WINDOWEDGE 0x00000100 Specifies that a window has a border with a raised edge. $WS_EX_LAYERED 0x00080000 Creates a layered window. Note that this cannot be used for child windows. $GUI_WS_EX_PARENTDRAG 0x00100000 Allow the label or pic control to be used as the title bar to drag the whole the parent window. Checkbox Styles Value Description #include <ButtonConstants.au3> Default/forced see GUICtrlCreateCheckbox function. $BS_3STATE 0x0005 Creates a check box in which the box can be unavailable as well as selected or cleared. Use the unavailable state to show that the state of the check box is not determined. $BS_AUTO3STATE 0x0006 Creates a three-state check box in which the state cycles through selected, unavailable, and cleared each time the user selects the check box. $BS_AUTOCHECKBOX 0x0003 Creates a check box in which the check state switches between selected and cleared each time the user selects the check box. $BS_CHECKBOX 0x0002 Creates a small, empty check box with a label displayed to the right of it. To display the text to the left of the check box, combine this flag with the BS_RIGHTBUTTON style. $BS_LEFT 0x0100 Left-aligns the text in the button rectangle on the right side of the check box. $BS_PUSHLIKE 0x1000 Makes a button (such as a check box, three-state check box, or radio button) look and act like a push button. The button looks raised when it isn't pushed or checked, and sunken when it is pushed or checked. $BS_RIGHT 0x0200 Right-aligns text in the button rectangle on the right side of the check box. $BS_RIGHTBUTTON 0x0020 Positions a check box square on the right side of the button rectangle. $BS_GROUPBOX 0x0007 Creates a rectangle in which other buttons can be grouped. Any text associated with this style is displayed in the rectangle’s upper-left corner. $BS_AUTORADIOBUTTON 0x0009 Same as a radio button, except that when the user selects it, the button automatically highlights itself and removes the selection from any other radio buttons with the same style in the same group. . windows have already been painted. $WS_EX_TOOLWINDOW 0x00000080 Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter. than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog box that appears when the user presses ALT+TAB into a tab stop, which enables the user to select the control by tabbing through the controls in a dialog box. $DS_MODALFRAME 0x00000080 Creates a dialog box with a modal dialog-box frame

Ngày đăng: 08/07/2014, 21:20