No.
But a horizontal wheel mouse only would be supported on those platforms. And you need to 'enable' the header parts which are protected by the _WIN32_WINNT macro or your code cannot handle that feature.
Printable View
Hello,
the problem is not solved.
But I found the chrashing line.
The problem is, it is not my file, it is wincore.cpp and the function is OnWndMsg.
I marked the crashing line.Code:BOOL CWnd::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
LRESULT lResult = 0;
// special case for commands
if (message == WM_COMMAND)
{
if (OnCommand(wParam, lParam))
{
lResult = 1;
goto LReturnTrue;
}
return FALSE;
}
// special case for notifies
if (message == WM_NOTIFY)
{
NMHDR* pNMHDR = (NMHDR*)lParam;
//*****crash in the following line !!!!!!!!
if (pNMHDR->hwndFrom != NULL && OnNotify(wParam, lParam, &lResult))
//******
goto LReturnTrue;
return FALSE;
}
.....
I think, pNMHDR is invalid.
Any ideas why?
thx.
Ralf
Hello,
I solved the problem:
the declaration of ON_WM_MOUSEHWHEEL was wrong.
Now, there is no longer a crash.
Ralf