[pywin32-checkins] pywin32/Pythonwin/pywin/framework help.py,1.7,1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-10-06 13:28:48
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework In directory sc8-pr-cvs1:/tmp/cvs-serv812/Pythonwin/pywin/framework Modified Files: help.py Log Message: Using the htmlhelp API wreaks havoc with keyboard shortcuts so we disable it, forcing ShellExecute, which works fine (but doesn't close the help file when Pythonwin is closed.) Index: help.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/help.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** help.py 3 Jul 2003 03:49:38 -0000 1.7 --- help.py 6 Oct 2003 13:28:44 -0000 1.8 *************** *** 37,41 **** if ext == ".hlp": win32api.WinHelp( win32ui.GetMainFrame().GetSafeHwnd(), fileName, helpCmd, helpArg) ! elif ext == ".chm": import win32help global htmlhelp_handle --- 37,44 ---- if ext == ".hlp": win32api.WinHelp( win32ui.GetMainFrame().GetSafeHwnd(), fileName, helpCmd, helpArg) ! # XXX - using the htmlhelp API wreaks havoc with keyboard shortcuts ! # so we disable it, forcing ShellExecute, which works fine (but ! # doesn't close the help file when Pythonwin is closed. ! elif 0 and ext == ".chm": import win32help global htmlhelp_handle |