Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
22
venv/Lib/site-packages/pythonwin/pywin/mfc/thread.py
Normal file
22
venv/Lib/site-packages/pythonwin/pywin/mfc/thread.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Thread and application objects
|
||||
|
||||
from . import object
|
||||
import win32ui
|
||||
|
||||
class WinThread(object.CmdTarget):
|
||||
def __init__(self, initObj = None):
|
||||
if initObj is None:
|
||||
initObj = win32ui.CreateThread()
|
||||
object.CmdTarget.__init__(self, initObj)
|
||||
|
||||
def InitInstance(self):
|
||||
pass # Default None/0 return indicates success for InitInstance()
|
||||
def ExitInstance(self):
|
||||
pass
|
||||
|
||||
|
||||
class WinApp(WinThread):
|
||||
def __init__(self, initApp = None):
|
||||
if initApp is None:
|
||||
initApp = win32ui.GetApp()
|
||||
WinThread.__init__(self, initApp)
|
Loading…
Add table
Add a link
Reference in a new issue