TAILIEUCHUNG - IT-Programing Help part 80

Tham khảo tài liệu 'it-programing help part 80', 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ả | 0 don t attach 1 do attach 1 store and restore 0 don t 5 milliseconds 1 millisecond 100 milliseconds 0 no pause 1 Pause 0 no info 1 debug line info 0 show 1 hide tray icon 0 append 1 no default menu 2 no automatic Opt SendAttachMode 0 Opt SendCapslockMode 1 Opt SendKeyDelay 5 Opt SendKeyDownDelay 1 Opt TCPTimeout 100 Opt TrayAutoPause 1 Opt TrayIconDebug 0 Opt TrayIconHide 0 Opt TrayMenuMode 0 check 4 menuitemID not return Opt TrayOnEventMode 0 0 disable 1 enable Opt WinDetectHiddenText 0 0 don t detect 1 do detect Opt WinSearchChildren 1 Opt WinTextMatchMode 1 Opt WinTitleMatchMode 1 4 Nocase Opt WinWaitDelay 250 0 no 1 search children also 1 complete 2 quick 1 start 2 subStr 3 exact 4 advanced -1 to - 250 milliseconds Function Reference GUIRegisterMsg Register a user defined function for a known Windows Message ID WM_MSG . GUIRegisterMsg msgID function Parameters msgID A Windows Message ID see Appendix Windows Message Codes . function The name of the user function to call when the message appears or an empty string to unregister a message. Return Value Success 1 Failure 0 Remarks To make the user function workable you have to define it with maximum 4 function parameters otherwise the function won t be called Func MyUserFunction hWndGUI MsgID WParam LParam . EndFunc Or Func MyUserFunction hWndGUI MsgID . EndFunc When the user function is called then these 4 parameters have the following values Position Parameter Meaning 1 hWnd The Window handle of the GUI in which the message appears. 2 Msg The Windows message ID. 3 wParam The first message parameter as hex value. 4 lParam The second message parameter as hex value. Up to 256 user functions can be registered for message ID s. By default after finishing the user function the AutoIt internal message handler will be proceed. That won t be if your Return a value See WM_COMMAND in example or if you use the keyword Return without any value. By using Return without any return value the AutoIt internal message handler

Đã 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.