TAILIEUCHUNG - AutoI Technology Curriculum Book part 65

Tham khảo tài liệu 'autoi technology curriculum book part 65', 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ả | GUICtrlCreateCheckbox Notify 2 10 -1 next cell in the line GUISetCoord 20 60 GUICtrlCreateButton OK 3 -1 -1 GUICtrlCreateButton Cancel 4 10 -1 GUICtrlSetState -1 GUI_FOCUS GUISetState will display an empty dialog box Run the GUI until the dialog is closed While 1 msg GUIGetMsg If msg GUI_EVENT_CLOSE Then ExitLoop WEnd EndFunc Example Function Reference GUISetCursor Sets the mouse cursor icon for a GUI window. GUISetCursor cursorID override winhandle Parameters cursorID optional Cursor Id See Remarks . override optional Force the requested mouse cursor even when over controls see below . 0 default Don t override a control s default mouse cursor. 1 override control s default mouse cursor. winhandle optional Windows handle as returned by GUICreate default is the previously used Window . Return Value Success Returns 1. Failure Returns 0. Remarks If the cursorID is invalid the standard arrow will be displayed. Usually when you move the mouse cursor over an edit control or other control the mouse cursor changes shape. The override option allows you to force the requested mouse cursor to be shown at all times. Note If you have changed a controls mouse cursor with GUICtrlSetCursor then this control mouse cursor will always be shown. For a list of valid cursor IDs see MouseGetCursor. CursorId 16 will hide the mouse cursor. Related GUICtrlSetCursor Example include Opt MustDeclareVars 1 Global IDC -1 newIDC 0 Example Func Example HotKeySet Esc Increment GUICreate Press Esc to Increment 400 400 0 0 0x04CF0000 0x00000110 GUISetState While GUIGetMsg GUI_EVENT_CLOSE If newIDC IDC Then IDC newIDC GUISetCursor IDC EndIf ToolTip GUI Cursor IDC WEnd EndFunc Example Func Increment newIDC IDC 1 If newIDC 15 Then newIDC 0 EndFunc Increment Function Reference GUISetFont Sets the default font for a GUI window. GUISetFont size weight attribute fontname winhandle Parameters size Fontsize default is . weight optional Font weight default 400 normal . attribute optional

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.