< prev index next >

src/java.desktop/windows/native/libawt/windows/awtmsg.h

Print this page




  28 
  29 #include <awt.h>
  30 
  31 extern const UINT SYSCOMMAND_IMM;
  32 
  33 /*
  34  * #defines for MouseWheel support
  35  *
  36  * Most of this is defined in winuser.h, however
  37  * it is enclosed by #ifdefs that aren't true
  38  * for all windows platforms.  To ensure that
  39  * necessary #defines are always available,
  40  * they're defined here as necessary.
  41  * See winuser.h for details.
  42  */
  43 
  44 #ifndef WM_MOUSEWHEEL
  45 #define WM_MOUSEWHEEL                   0x020A
  46 #endif //WM_MOUSEWHEEL
  47 




  48 #ifndef WHEEL_DELTA
  49 #define WHEEL_DELTA                     120
  50 #endif //WHEEL_DELTA
  51 
  52 #ifndef WHEEL_PAGESCROLL
  53 #define WHEEL_PAGESCROLL                (UINT_MAX)
  54 #endif //WHEEL_PAGESCROLL
  55 
  56 #ifndef SPI_GETWHEELSCROLLLINES
  57 #define SPI_GETWHEELSCROLLLINES         104
  58 #endif //SPI_GETWHEELSCROLLLINES
  59 
  60 #ifndef SM_MOUSEWHEELPRESENT
  61 #define SM_MOUSEWHEELPRESENT            75
  62 #endif //SPI_GETWHEELSCROLLLINES
  63 
  64 #ifndef COLOR_HOTLIGHT
  65 #define COLOR_HOTLIGHT                  26
  66 #endif //COLOR_HOTLIGHT
  67 




  28 
  29 #include <awt.h>
  30 
  31 extern const UINT SYSCOMMAND_IMM;
  32 
  33 /*
  34  * #defines for MouseWheel support
  35  *
  36  * Most of this is defined in winuser.h, however
  37  * it is enclosed by #ifdefs that aren't true
  38  * for all windows platforms.  To ensure that
  39  * necessary #defines are always available,
  40  * they're defined here as necessary.
  41  * See winuser.h for details.
  42  */
  43 
  44 #ifndef WM_MOUSEWHEEL
  45 #define WM_MOUSEWHEEL                   0x020A
  46 #endif //WM_MOUSEWHEEL
  47 
  48 #ifndef WM_MOUSEHWHEEL
  49 #define WM_MOUSEHWHEEL                  0x020E
  50 #endif //WM_MOUSEHWHEEL
  51 
  52 #ifndef WHEEL_DELTA
  53 #define WHEEL_DELTA                     120
  54 #endif //WHEEL_DELTA
  55 
  56 #ifndef WHEEL_PAGESCROLL
  57 #define WHEEL_PAGESCROLL                (UINT_MAX)
  58 #endif //WHEEL_PAGESCROLL
  59 
  60 #ifndef SPI_GETWHEELSCROLLLINES
  61 #define SPI_GETWHEELSCROLLLINES         104
  62 #endif //SPI_GETWHEELSCROLLLINES
  63 
  64 #ifndef SM_MOUSEWHEELPRESENT
  65 #define SM_MOUSEWHEELPRESENT            75
  66 #endif //SPI_GETWHEELSCROLLLINES
  67 
  68 #ifndef COLOR_HOTLIGHT
  69 #define COLOR_HOTLIGHT                  26
  70 #endif //COLOR_HOTLIGHT
  71 


< prev index next >