Nella OnCommand devi scrivere

codice:
case IDM_BLOCK:
    Cls_OnMenuBlock(hWnd);
    break;
e non trattare IDM_BLOCK con la HANDLE_MSG ...