About SDK programming
-
Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:
-
Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:
WM_MOUSEWHEEL is declared in winuser.h; are you #including windows.h?
-
WM_MOUSEWHEEL is declared in winuser.h; are you #including windows.h?
Use this line: #define _WIN32_WINNT 0x0500 Should work, Jerzy
-
Use this line: #define _WIN32_WINNT 0x0500 Should work, Jerzy
Use this line: #define _WIN32_WINNT 0x0500 Why? The Platform SDK Doc. say that it should also work under Win9x... With that define, the application might only wotk under Win2k. - Anders Money talks, but all mine ever says is "Goodbye!"
-
Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:
You might need to install the Platform SDK. It updates your headerfiles to newer versions... - Anders Money talks, but all mine ever says is "Goodbye!"