Changeset e26cfe0 in nscp for modules/SysTray/TrayIcon.h


Ignore:
Timestamp:
07/11/05 21:55:28 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
75d5e70
Parents:
6654022
Message:

changes all over manily in the checking code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/SysTray/TrayIcon.h

    r402f042 re26cfe0  
    11#pragma once 
     2 
     3#include <thread.h> 
    24 
    35#define WM_ICON_NOTIFY  WM_USER+1 
    46#define WM_MY_CLOSE WM_USER+2 
     7 
     8class IconWidget_ { 
     9public: 
     10  void threadProc(LPVOID lpParameter); 
     11  void exitThread(void); 
     12 
     13private: 
     14  void createDialog(void); 
     15  void destroyDialog(void); 
     16 
     17private: 
     18  HWND hDlgWnd; 
     19 
     20}; 
     21 
     22typedef Thread<IconWidget_> IconWidget; 
     23 
    524 
    625namespace TrayIcon 
     
    827  INT_PTR CALLBACK DialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam); 
    928  BOOL CALLBACK InjectDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam); 
    10   void createDialog(void); 
    11   void destroyDialog(void); 
    12   void removeIcon(void); 
     29  void removeIcon(HWND hWnd); 
    1330  void addIcon(HWND hWnd); 
    14   bool waitForTermination(DWORD timeout = 5000L); 
    1531} 
Note: See TracChangeset for help on using the changeset viewer.