When my main window receives a WM_NOTIFY message I try to extract the id
of the control that sent this message, but the value of idFrom is always zero.
NHMDR structure which I think is the X64 version:
HWND hwndFrom;
INT_PTR idFrom;
UINT code;
Now, the hwndFrom contains the handle of the toolbar and the code value is equal to NM_CUSTOMDRAW, but the idFrom value is always zero when I select any toolbar buttons and I'm puzzled.