Nikolay Sivov (@nsivov) commented about dlls/user32/tests/msg.c:
- };
- static const struct message set_focus2[] =
- {
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_BUTTON, BN_SETFOCUS) },
{ 0 }
- };
- hwnd = CreateWindowExA(0, "TestParentClass", "Test parent", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
100, 100, 200, 200, 0, 0, 0, NULL);
- ok(hwnd != 0, "Failed to create parent window\n");
- for (type = BS_PUSHBUTTON; type <= BS_DEFCOMMANDLINK; ++type)
- {
if (type != BS_RADIOBUTTON && type != BS_AUTORADIOBUTTON)
continue;
Same here. Also command link button does not exist in user32 to begin with.