tailieunhanh - AutoI Technology Curriculum Book part 121
Tham khảo tài liệu 'autoi technology curriculum book part 121', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | var i 1 EndIf Next Func IsVisible handle If BitAnd WinGetState handle 2 Then Return 1 Else Return 0 EndIf EndFunc Function Reference WinMenuSelectItem Invokes a menu item of a window. WinMenuSelectItem title text item item item item item item item Parameters title The title of the window to read. See Title special definition. text The text of the window to read. item Text of Menu Item item optional Text of SubMenu item item optional Text of SubMenu item item optional Text of SubMenu item item optional Text of SubMenu item item optional Text of SubMenu item item optional Text of SubMenu item Return Value Success Returns 1. Failure Returns 0 if the menu could not be found. Remarks You should note that underlined menu items actually contain a character to indicate the underlining. Thus the menu item File would actually require the text File and Convert would require Con vert You can access menu items up to six levels deep and the window can be inactive minimized and or even hidden. WinMenuSelectItem will only work on standard menus. Unfortunately many menus in use today are actually custom written or toolbars pretending to be menus. This is true for most Microsoft applications. Related ControlCommand Send Example This will select File Page Setup in notepad WinMenuSelectItem Untitled - File Page Set up. Function Reference WinMinimizeAll Minimizes all windows. WinMinimizeAll Parameters None. Return Value None. Remarks Send m is a possible alternative. Related WinMinimizeAllUndo WinSetState Example WinMinimizeAll Function Reference WinMinimizeAllUndo Undoes a previous WinMinimizeAll function. WinMinimizeAllUndo Parameters .
đang nạp các trang xem trước