TAILIEUCHUNG - AutoIT Help part 49

Tham khảo tài liệu 'autoit help part 49', 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ả | msg GUIGetMsg Select Case msg button MsgBox 0 listview item GUICtrlRead GUICtrlRead listview 2 Case msg listview MsgBox 0 listview clicked- GUICtrlGetState listview 2 EndSelect Until msg GUI_EVENT_CLOSE EndFunc Example Function Reference GUICtrlCreateListV iewItem tao mot ListView item. GUICtrlCreateListViewItem text listviewID Parameters text dong clnr hiên thi listviewID controlID cùa ListView Return Value Success trà lai ControlID Failure Returns 0. Remarks This function creates the individual ListView items that can be selected. The items function as normal controls and can be set with GUICtrlSetData. Items can be deleted as with any other control by using GUICtrlDelete. ListView items can be dragged and drop into an Edit or Input control with a GUI_DROPACCEPTED state. See GUICtrlCreateListView about resizing of the column. The special flag GUI_BKCOLOR_LV_ALTERNATE can be used with Listview control to give alternate background of the ListviewItems lines. The odd lines will get the color set by GUICtrlSetBkColor of the Listview control. The even lines will get the color set by GUICtrlSetBkColor of the ListviewItem control. Related GUICtrlCreateListView GUICtrlSetData GUICtrlSetState GUICtrlDelete GUIGetMsg GUICtrlRead GUIDataSeparatorChar Option Example include include Opt MustDeclareVars 1 Example Func Example Local listview button item1 item2 item3 input1 msg GUICreate listview items 220 250 100 200 -1 WS_EX_ACCEPTFILES GUISetBkColor 0x00E0FFFF will change background color listview GUICtrlCreateListView col1 col2 col3 10 10 200 150 LVS_SORTDESCENDING button GUICtrlCreateButton Value 75 170 70 20 item1 GUICtrlCreateListViewItem item2 col22 col23 listview item2 GUICtrlCreateListViewItem .item1 col12 col13 listview item3 GUICtrlCreateListViewItem item3 col32 col33 listview input1 GUICtrlCreateInput 20 200 150 GUICtrlSetState -1 GUI_DROPACCEPTED to allow drag and dropping GUISetState GUICtrlSetData item2 ITEM1 .

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.