Ignore:
Timestamp:
Dec 1, 2010, 1:31:50 PM (15 years ago)
Author:
dmik
Message:

(z)mouse.h: Added support for UNICODE mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/zmouse.h

    r5647 r21491  
    6262 */
    6363
    64 #define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
     64#define MSH_MOUSEWHEEL TEXT("MSWHEEL_ROLLMSG")
    6565
    6666#define WHEEL_DELTA      120
     
    7070#endif
    7171
    72 #define MOUSEZ_CLASSNAME  "MouseZ"         
    73 #define MOUSEZ_TITLE      "Magellan MSWHEEL"
     72#define MOUSEZ_CLASSNAME  TEXT("MouseZ")
     73#define MOUSEZ_TITLE      TEXT("Magellan MSWHEEL")
    7474
    7575#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
    7676#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
    7777
    78 #define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
     78#define MSH_WHEELSUPPORT TEXT("MSH_WHEELSUPPORT_MSG")
    7979
    80 #define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
     80#define MSH_SCROLL_LINES TEXT("MSH_SCROLL_LINES_MSG")
    8181
    82 #ifndef  WHEEL_PAGESCROLL 
     82#ifndef  WHEEL_PAGESCROLL
    8383#define WHEEL_PAGESCROLL  (UINT_MAX)
    84 #endif 
     84#endif
    8585
    8686#ifndef SPI_SETWHEELSCROLLLINES
     
    9090/*********************************************************************
    9191* INLINE FUNCTION: HwndMsWheel
    92 * Purpose : Get a reference to MSWheel Window, the registered messages, 
     92* Purpose : Get a reference to MSWheel Window, the registered messages,
    9393*           wheel support active setting, and number of scrollLines
    9494* Params  : PUINT puiMsh_MsgMouseWheel - address of UINT to contain returned registered wheel message
     
    101101*           on the POINT32 module.  If POINT32 module is not running then
    102102*           the values returned for these parameters will be
    103 *           FALSE and 3, respectively. 
     103*           FALSE and 3, respectively.
    104104*********************************************************************/
    105 inline HWND HwndMSWheel( 
     105inline HWND HwndMSWheel(
    106106      PUINT puiMsh_MsgMouseWheel,
    107107      PUINT puiMsh_Msg3DSupport,
Note: See TracChangeset for help on using the changeset viewer.