TAILIEUCHUNG - AutoIT Help part 56

Tham khảo tài liệu 'autoit help part 56', 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ả | @LF OS @TAB @OSVersion @LF SP @TAB @OSServicePack 120 30 200 80 GUICtrlSetState -1 GUI_HIDE Hides the compinfo -text during initialization GUICtrlCreateLabel 0 170 350 2 SS_SUNKEN togglebutton GUICtrlCreateButton Toggle 35 185 70 20 infobutton GUICtrlCreateButton Info 105 185 70 20 statebutton GUICtrlCreateButton Col. Exp. 175 185 70 20 cancelbutton GUICtrlCreateButton Cancel 245 185 70 20 GUICtrlSetState generalitem BitOR GUI_EXPAND GUI_DEFBUTTON Expand the General -item and paint in bold GUICtrlSetState displayitem BitOR GUI_EXPAND GUI_DEFBUTTON Expand the Display -item and paint in bold GUISetState While 1 msg GUIGetMsg Select Case msg cancelbutton Or msg GUI_EVENT_CLOSE ExitLoop Case msg togglebutton Toggle the bold painting If BitAND GUICtrlRead generalitem GUI_DEFBUTTON Then GUICtrlSetState generalitem 0 GUICtrlSetState displayitem 0 Else GUICtrlSetState generalitem GUI_DEFBUTTON GUICtrlSetState displayitem GUI_DEFBUTTOn EndIf Case msg infobutton item GUICtrlRead treeview Get the controlID of the current selected treeview item If item 0 Then MsgBox 64 TreeView Demo No item currently selected Else text GUICtrlRead item 1 Get the text of the treeview item If text Then MsgBox 16 Error Error while retrieving infos about item Else MsgBox 64 TreeView Demo Current item selected is text EndIf EndIf Case msg statebutton item GUICtrlRead treeview If item 0 Then hItem GUICtrlGetHandle item DllCall int SendMessage hwnd GUICtrlGetHandle treeview int TVM_EXPAND int TVE_TOGGLE hwnd hItem EndIf The following items will hide the other labels 1st and 2nd parameter and then show the own labels 3rd and 4th parameter Case msg generalitem GUIChangeItems aboutlabel compinfo startlabel startlabel Case msg aboutitem GUICtrlSetState compinfo GUI_HIDE GUIChangeItems startlabel startlabel aboutlabel aboutlabel Case msg compitem GUIChangeItems startlabel aboutlabel compinfo compinfo EndSelect WEnd GUIDelete EndFunc Example Func GUIChangeItems hidestart hideend showstart .

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.