tailieunhanh - AutoI Technology Curriculum Book part 49
Tham khảo tài liệu 'autoi technology curriculum book 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ả | top The top of the control. If -1 is used then top will be computed according to GUICoordMode. width optional The width of the control default is the previously used width . height optional The height of the control default is the previously used height . Return Value Success trà lai ControlID Failure Returns 0. Remarks This function attempts to embed an ActiveX Control or a Document Object inside the GUI. Not every control can be embedded. They must at least support an IDispatch interface. Document Objects will only be visible if the Windows style WS_CLIPCHILDREN has been used in GUICreate . The GUI functions GUICtrlRead and GUICtrlSet have no effect on this control. The object can only be controlled using methods or properties on the ObjectVar. Related ObjCreate ObjGet ObjEvent IsObj Example include include Opt MustDeclareVars 1 Example Simple example Embedding an Internet Explorer Object inside an AutoIt GUI See also http workshop browser webbrowser reference objects intern Func Example Local oIE GUIActiveX GUI_Button_Back GUI_Button_Forward Local GUI_Button_Home GUI_Button_Stop msg oIE ObjCreate Create a simple GUI for our output GUICreate Embedded Web control Test 640 580 @DesktopWidth - 640 2 @DesktopHeight - 580 2 BitOR WS_OVERLAPPEDWINDOW WS_CLIPSIBLINGS WS_CLIPCHILDREN GUIActiveX GUICtrlCreateObj oIE 10 40 600 360 GUI_Button_Back GUICtrlCreateButton Back 10 420 100 30 GUI_Button_Forward GUICtrlCreateButton Forward 120 420 100 30 GUI_Button_Home GUICtrlCreateButton Home 230 420 100 30 GUI_Button_Stop GUICtrlCreateButton Stop 330 420 100 30 GUISetState Show GUI http Waiting for user to close the window While 1 msg GUIGetMsg Select Case msg GUI_EVENT_CLOSE ExitLoop Case msg GUI_Button_Home http Case msg GUI_Button_Back Case msg GUI_Button_Forward Case msg GUI_Button_Stop .
đang nạp các trang xem trước