TAILIEUCHUNG - AutoI Technology Curriculum Book part 115

Tham khảo tài liệu 'autoi technology curriculum book part 115', 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ả | Function Reference ControlMove Moves a control within a window. ControlMove title text controlID x y width height Parameters title The title of the window to move. text The text of the window to move. controlID The control to interact with. See Controls. x X coordinate to move to relative to the window client area. y Y coordinate to move to relative to the window client area. width optional New width of the window. height optional New height of the window. Return Value Success Returns 1. Failure Returns 0 if window control is not found. Remarks If x and y equal to the Default keyword no move occurs just resizing. Related ControlCommand WinMove Example ControlMove Untitled - MDIClient1 0 0 200 200 Function Reference ControlSend Sends a string of characters to a control. ControlSend title text controlID string flag Parameters title The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. string String of characters to send to the control. flag optional Changes how keys is processed flag 0 default Text contains special characters like to indicate SHIFT and LEFT to indicate left arrow. flag 1 keys are sent raw. Return Value Success Returns 1. Failure Returns 0 if window control is not found. Remarks ControlSend works in a similar way to Send but it can send key strokes directly to a window control rather than just to the active window. ControlSend is only unreliable for command prompts as that works differently to normal windows seems to check physical states rather than accepting the keystroke messages . For normal windows ControlSend should be way more reliable than a normal Send - and yes it does send shift ctrl alt etc. As mention in the Send help the keyboard that send different chars when in CAPS LOCK and using the Shift Key cannot be simulated. An example is the Czech Keyboard. A good workaround is to use the ControlSetText. The control might first need to be given focus with the ControlFocus

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.