/[winpt]/trunk/Src/wptMainProc.cpp
ViewVC logotype

Diff of /trunk/Src/wptMainProc.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 165 by twoaday, Tue Jan 24 10:10:15 2006 UTC revision 174 by twoaday, Thu Feb 2 08:20:50 2006 UTC
# Line 319  LRESULT CALLBACK Line 319  LRESULT CALLBACK
319  winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)  winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
320  {                {              
321      static NOTIFYICONDATA NID;      static NOTIFYICONDATA NID;
322        static DWORD cookie;
323      static int use_hotkey = 0;      static int use_hotkey = 0;
324      INITCOMMONCONTROLSEX cce;      INITCOMMONCONTROLSEX cce;
325      LPARAM param;      LPARAM param;
# Line 348  winpt_main_proc (HWND hwnd, UINT msg, WP Line 349  winpt_main_proc (HWND hwnd, UINT msg, WP
349          cce.dwSize = sizeof (INITCOMMONCONTROLSEX);          cce.dwSize = sizeof (INITCOMMONCONTROLSEX);
350          cce.dwICC = ICC_DATE_CLASSES;          cce.dwICC = ICC_DATE_CLASSES;
351          InitCommonControlsEx (&cce);          InitCommonControlsEx (&cce);
352            html_help_init (&cookie);
353          LoadLibrary ("RichEd32.Dll");          LoadLibrary ("RichEd32.Dll");
354          break;          break;
355                    
# Line 365  winpt_main_proc (HWND hwnd, UINT msg, WP Line 367  winpt_main_proc (HWND hwnd, UINT msg, WP
367          hotkeys_unregister (hwnd);          hotkeys_unregister (hwnd);
368          PTD_delete ();          PTD_delete ();
369          agent_flush_cache ();          agent_flush_cache ();
370            html_help_deinit (cookie);
371          if (!gpg_clip_istext_avail (&has_data) && has_data) {          if (!gpg_clip_istext_avail (&has_data) && has_data) {
372              int chk = get_reg_winpt_flag ("WipeClipboard");              int chk = get_reg_winpt_flag ("WipeClipboard");
373              if (chk == -1 && msg != WM_ENDSESSION)              if (chk == -1 && msg != WM_ENDSESSION)

Legend:
Removed from v.165  
changed lines
  Added in v.174

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26