...
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
public void MoveWindowMovePortal( int hWnd, int left, int top, int width, int height, bool repaint ) |
Parameters
...
hWnd
...
Type: int
대상의 Window 핸들
left |
|---|
Type: int
대상의 이동 left 값
top |
|---|
Type: int
대상의 위치이동 top 값
width |
|---|
Type: int
대상의 사이즈변경 너비
height |
|---|
Type: int
대상의 사이즈변경 높이
...
repaint
...
Type: bool
조건 컨트롤 시트의 name
Return Value
Type: bool
| 코드 블럭 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
Sub MoveWindow()
Dim mxmodule As Object
Set mxmodule = Application.COMAddIns.Item("iMATRIX6iMATRIX.ExcelModule").Object
result = mxmodule.xapi.MoveWindowMovePortal(Application.Hwnd, 100, 100, 200, 300, True)
'오류 확인
If result = False Then
MsgBox "fail"
Else
MsgBox "success"
End If
End Sub |
...