TAILIEUCHUNG - AutoIT Help part 76

Tham khảo tài liệu 'autoit help part 76', 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ả | a 1 EndIf Until msg GUI_EVENT_CLOSE Function Reference GUICtrlSendMsg Send a message to a control. GUICtrlSendMsg controlID msg wParam IParam Parameters controlID The control identifier controlID as returned by a GUICtrlCreate. function. msg type of message to be send to the control as defined in the Windows control documentation. wParam The first param to send to the control. lParam The second param to send to the control. Return Value Success Returns the value returned by the SendMessage Windows API. Failure Returns 0. Remarks This function allows the sending of special Windows messages directly to the control using the SendMessage API. It is used to enable special control features not available with the simple GUICtrlRead and GUICtrlSet. range of functions. The parameters wParam and lParam can be an integer or a string. GUICtrlSendMsg should be used for messages that have no special return types. For more advanced messages where you must be able to receive extra data you must use GUICtrlRecvMs g . Related GUICtrlRecvMsg GUICtrlCreate. GUICtrlSet. GUIGetMsg GUICtrlRead Example include include GUICreate My GUI will create a dialog box that when displayed is centered nEdit GUICtrlCreateEdit line 0 10 10 GUICtrlCreateButton Ok 20 200 50 GUISetState For n 1 To 5 GUICtrlSetData nEdit @CRLF line n Next Run the GUI until the dialog is closed Do msg GUIGetMsg If msg 0 Then n GUICtrlSendMsg nEdit EM_LINEINDEX -1 0 nline GUICtrlSendMsg nEdit EM_LINEFROMCHAR n 0 GUICtrlSetState nEdit GUI_FOCUS set focus MsgBox 0 Currentline nLine EndIf Until msg GUI_EVENT_CLOSE Function Reference GUICtrl SendT oDummy Sends a message to a Dummy control. GUICtrlSendToDummy controlID state Parameters controlID The control identifier controlID as returned by GUICtrlCreateDummy state optional value that can be retrieved later on by GUICtrlRead Return Value Success Returns 1. Failure Returns 0. Remarks When this function is called a notification that can be .

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.