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.

61 lines
1.3 KiB

  1. #if !defined(USRCTL32__Static_h__INCLUDED)
  2. #define USRCTL32__Static_h__INCLUDED
  3. //---------------------------------------------------------------------------//
  4. //
  5. // Static Controls
  6. //
  7. //---------------------------------------------------------------------------//
  8. // Statics
  9. #define SFRIGHTJUST 0x0D04
  10. #define SFEDITCONTROL 0x0D20
  11. #define SFWIDELINESPACING 0x0C20
  12. #define IDSYS_STANIMATE 0x0000FFFDL
  13. //
  14. // Instance data pointer access functions
  15. //
  16. #define Static_GetPtr(hwnd) \
  17. (PSTAT)GetWindowPtr(hwnd, 0)
  18. #define Static_SetPtr(hwnd, p) \
  19. (PSTAT)SetWindowPtr(hwnd, 0, p)
  20. extern LRESULT Static_WndProc(
  21. HWND hwnd,
  22. UINT uMsg,
  23. WPARAM wParam,
  24. LPARAM lParam
  25. );
  26. typedef struct tagSTAT
  27. {
  28. HWND hwnd;
  29. union tagDUMMY
  30. {
  31. HANDLE hFont;
  32. BOOL fDeleteIt;
  33. };
  34. HANDLE hImage;
  35. UINT cicur;
  36. UINT iicur;
  37. BOOL fPaintKbdCuesOnly;
  38. BOOL fAlphaImage;
  39. HTHEME hTheme;
  40. PWW pww; // RO pointer into the pwnd to ExStyle, Style, State, State2
  41. } STAT, *PSTAT;
  42. typedef struct tagCURSORRESOURCE
  43. {
  44. WORD xHotspot;
  45. WORD yHotspot;
  46. BITMAPINFOHEADER bih;
  47. } CURSORRESOURCE, *PCURSORRESOURCE;
  48. #endif // USRCTL32__Static_h__INCLUDED