Leaked source code of windows server 2003
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.

56 lines
2.4 KiB

  1. // MarsEvt.h contains list of all events that script can sink
  2. //
  3. // Any new events must be added here and documented appropriately
  4. //-------------------------------------------------------------------
  5. //-------------------------------------------------------------------
  6. // PANEL events
  7. //-------------------------------------------------------------------
  8. // OnNCHitTest(long x, long y) - return HTCLIENT (1) or HTCAPTION (2)
  9. const WCHAR c_wszEvt_Window_NCHitTest[] = L"Window.NCHitTest";
  10. const WCHAR c_wszBeEvt_Window_NCHitTest[] = L"onNCHitTest";
  11. // OnActivate(bool bActive)
  12. const WCHAR c_wszEvt_Window_Activate[] = L"Window.Activate";
  13. const WCHAR c_wszBeEvt_Window_Activate[] = L"onActivate";
  14. // OnActivate(panel Panel, bool bActive)
  15. const WCHAR c_wszEvt_Panel_Activate[] = L"Panel.Activate";
  16. const WCHAR c_wszBeEvt_Panel_Activate[] = L"onActivate";
  17. // OnShow(panel Panel, bool bVisible)
  18. const WCHAR c_wszEvt_Panel_Show[] = L"Panel.Show";
  19. const WCHAR c_wszBeEvt_Panel_Show[] = L"onShow";
  20. // OnAllowBlur(long lReason)
  21. const LONG ALLOWBLUR_MOUSECLICK = 1;
  22. const LONG ALLOWBLUR_TABKEYPRESS = 2;
  23. const LONG ALLOWBLUR_POPUPWINDOW = 4;
  24. const LONG ALLOWBLUR_SHUTTINGDOWN = 8;
  25. const WCHAR c_wszEvt_Window_AllowBlur[] = L"Window.AllowBlur";
  26. const WCHAR c_wszBeEvt_Window_AllowBlur[] = L"onAllowBlur";
  27. const WCHAR c_wszBeEvt_Window_SysCommand[] = L"onSysCommand";
  28. // OnTrustedFind(panel, strPlaceName)
  29. const WCHAR c_wszBeEvt_Panel_TrustedFind[] = L"onTrustedFind";
  30. // OnTrustedPrint(panel, strPlaceName)
  31. const WCHAR c_wszBeEvt_Panel_TrustedPrint[] = L"onTrustedPrint";
  32. // OnTrustedRefresh(panel, strPlaceName, bool FullRefresh)
  33. const WCHAR c_wszBeEvt_Panel_TrustedRefresh[] = L"onTrustedRefresh";
  34. //-------------------------------------------------------------------
  35. // PLACE events
  36. //-------------------------------------------------------------------
  37. // OnBeginTransition(strPlaceFrom, strPlaceTo)
  38. const WCHAR c_wszEvt_Place_BeginTransition[] = L"Place.BeginTransition";
  39. const WCHAR c_wszBeEvt_Place_BeginTransition[] = L"onBeginTransition";
  40. // OnTransitionComplete(strPlaceFrom, strPlaceTo)
  41. const WCHAR c_wszEvt_Place_TransitionComplete[] = L"Place.TransitionComplete";
  42. const WCHAR c_wszBeEvt_Place_TransitionComplete[] = L"onTransitionComplete";