예제 #1
0
 def ShellExcute(cls,
                 hwnd,
                 lpOperation,
                 lpFile,
                 lpParameters='',
                 lpDirectory='',
                 nShowCmd=SW_SHOWNORMAL):
     return PyWinUtils().ShellExcute(hwnd, lpOperation, lpFile,
                                     lpParameters, lpDirectory, nShowCmd)
예제 #2
0
 def SelectFolder(cls, hwnd, title, saveTag=''):
     return PyWinUtils().SelectFolder(hwnd, title, saveTag)
예제 #3
0
 def MessageBox(cls, hwnd, text, caption, btntype=MB_OK):
     return PyWinUtils().MessageBox(hwnd, text, caption, btntype)
예제 #4
0
 def SelectFile(cls, hwnd, filter='All files(*.*)\0*.*\0'):
     return PyWinUtils().SelectFile(hwnd, filter)
예제 #5
0
 def SetWaitCursor(cls):
     PyWinUtils().SetWaitCursor()
예제 #6
0
 def SetArrowCursor(cls):
     PyWinUtils().SetArrowCursor()
예제 #7
0
 def SetCurrentDirectory(cls, cdir):
     PyWinUtils().SetCurrentDirectory(cdir)
예제 #8
0
 def SetCurrentDirectoryToExePath(cls):
     PyWinUtils().SetCurrentDirectoryToExePath()
예제 #9
0
 def GetExeDirectory(cls):
     return PyWinUtils().GetExeDirectory()
예제 #10
0
 def RestoreWindow(self):
     """
     RestoreWindow
     """
     PyWinUtils().SendMessageA(self.GetHWnd(), win32con.WM_SYSCOMMAND,
                               win32con.SC_RESTORE, 0)
예제 #11
0
 def MaximizeWindow(self):
     """
     MaximizeWindow
     """
     PyWinUtils().SendMessageA(self.GetHWnd(), win32con.WM_SYSCOMMAND,
                               win32con.SC_MAXIMIZE, 0)
예제 #12
0
 def KillTimer(self, nIDEvent):
     PyWinUtils().KillTimer(self.GetHWnd(), nIDEvent)
예제 #13
0
 def SetTimer(self, nIDEvent, uElapse):
     PyWinUtils().SetTimer(self.GetHWnd(), nIDEvent, uElapse)