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.

86 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. mapctl.h
  5. Abstract:
  6. This module contains the information for the map control of the
  7. Date/Time applet.
  8. Revision History:
  9. --*/
  10. #ifndef _MAPCTL_H
  11. #define _MAPCTL_H
  12. //
  13. // Constant Declarations.
  14. //
  15. #define MAPN_TOUCH 0
  16. #define MAPN_SELECT 1
  17. //
  18. // Typedef Declarations.
  19. //
  20. typedef struct
  21. {
  22. NMHDR hdr;
  23. int index;
  24. } NFYMAPEVENT;
  25. #define MAPCTL_MAX_INDICES 256
  26. //
  27. // Function Prototypes.
  28. //
  29. BOOL
  30. RegisterMapControlStuff(
  31. HINSTANCE instance);
  32. void
  33. MapControlSetSeaRegionHighlight(
  34. HWND window,
  35. int index,
  36. int value,
  37. int x,
  38. int cx);
  39. void
  40. MapControlSetLandRegionHighlight(
  41. HWND window,
  42. int index,
  43. BOOL highlighted,
  44. int x,
  45. int cx);
  46. void
  47. MapControlInvalidateDirtyRegions(
  48. HWND window);
  49. void
  50. MapControlRotateTo(
  51. HWND window,
  52. int x,
  53. BOOL animate);
  54. #endif // _MAPCTL_H