On Sat, Jan 3, 2009 at 12:37 AM, Dmitry Timoshkov wrote:
> "Dylan Smith" wrote:
>
> - SendMessageA(GetParent(hWnd), WM_COMMAND,
>> (nCode<<16)|GetWindowLongW(hWnd, GWLP_ID), (LPARAM)hWnd);
>> + SendMessageA(GetParent(hWnd), WM_COMMAND, (nCode<<16)|(0x &
>> GetWindowLongW(hWnd, GWLP_ID)), (
"Dylan Smith" wrote:
> - SendMessageA(GetParent(hWnd), WM_COMMAND, (nCode<<16)|GetWindowLongW(hWnd,
> GWLP_ID), (LPARAM)hWnd);
> + SendMessageA(GetParent(hWnd), WM_COMMAND, (nCode<<16)|(0x &
> GetWindowLongW(hWnd, GWLP_ID)), (LPARAM)hWnd);
MAKEWPARAM and LOWORD are supposed to be used he