Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  1. // File: confwnd.h
  2. #ifndef _CONFWND_H_
  3. #define _CONFWND_H_
  4. #include "GenWindow.h"
  5. class CHiddenWindow : public CGenWindow
  6. {
  7. public:
  8. CHiddenWindow() : m_fGotDblClick(FALSE) {}
  9. BOOL Create();
  10. VOID OnCallStarted();
  11. VOID OnCallEnded();
  12. protected:
  13. virtual ~CHiddenWindow() {}
  14. virtual LRESULT ProcessMessage(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
  15. private:
  16. POINT m_ptTaskbarClickPos;
  17. BOOL m_fGotDblClick;
  18. } ;
  19. extern CHiddenWindow * g_pHiddenWnd;
  20. inline HWND GetHiddenWindow()
  21. {
  22. return g_pHiddenWnd==NULL ? NULL : g_pHiddenWnd->GetWindow();
  23. }
  24. // Hidden window messages:
  25. const UINT WM_CONF_MSG_BOX = WM_USER + 10;
  26. const UINT WM_CONFOBJ_FLUSH_FRIENDS = WM_USER + 20;
  27. const UINT WM_FTUI = WM_USER + 0x0503;
  28. const UINT WM_STATUSBAR_UPDATE = WM_USER + 0x0504;
  29. const UINT WM_NM_DISPLAY_MSG = WM_USER + 0x05FF; // wParam=uType, lParam=pszMsg
  30. const UINT WM_CONF_DROP_KEY = WM_USER + 0x0600; // wParam=key, lParam=hwnd
  31. const UINT WM_CONF_DROP_CLICK = WM_USER + 0x0601; // wParam=0, lParam=hwnd
  32. // End Session Hidden window messages:
  33. const UINT WM_TASKBAR_NOTIFY = WM_USER + 200;
  34. #endif /* _CONFWND_H_ */