Fix PPT again! and remove tabs

This commit is contained in:
Jonathan Corwin 2011-03-16 23:37:16 +00:00
parent 72f445c426
commit 23e178846b
3 changed files with 563 additions and 562 deletions

View File

@ -80,6 +80,7 @@ class PowerpointController(PresentationController):
log.debug(u'start_process') log.debug(u'start_process')
if not self.process: if not self.process:
self.process = Dispatch(u'PowerPoint.Application') self.process = Dispatch(u'PowerPoint.Application')
self.process.Visible = True
self.process.WindowState = 2 self.process.WindowState = 2
def kill(self): def kill(self):

File diff suppressed because it is too large Load Diff

View File

@ -61,24 +61,24 @@ void Unhook(int id);
struct PPTVIEW struct PPTVIEW
{ {
HHOOK hook; HHOOK hook;
HHOOK msgHook; HHOOK msgHook;
HWND hWnd; HWND hWnd;
HWND hWnd2; HWND hWnd2;
HWND hParentWnd; HWND hParentWnd;
HANDLE hProcess; HANDLE hProcess;
HANDLE hThread; HANDLE hThread;
DWORD dwProcessId; DWORD dwProcessId;
DWORD dwThreadId; DWORD dwThreadId;
RECT rect; RECT rect;
int slideCount; int slideCount;
int currentSlide; int currentSlide;
int firstSlideSteps; int firstSlideSteps;
int lastSlideSteps; int lastSlideSteps;
int steps; int steps;
int guess; int guess;
char filename[MAX_PATH]; char filename[MAX_PATH];
char previewPath[MAX_PATH]; char previewPath[MAX_PATH];
int slideNos[MAX_SLIDES]; int slideNos[MAX_SLIDES];
PPTVIEWSTATE state; PPTVIEWSTATE state;
}; };