I noticed a strange effect when I create a Listview.
When I create a ListView without creating a button, the selected item in the ListView has a dashed border. However, when I also create the button, the ListView list item no longer has a dotted border. This only happens when I have a manifest file that allows the use of common 6 controls:

This is the code I used to create Window and ListView and Button:
// Create Window HWND hWnd = CreateWindowEx(0, "WinClass", "My Window", WS_OVERLAPPEDWINDOW, 261, 172, 394, 284, NULL, NULL, hInstance, NULL); // Create ListView HWND hListView = CreateWindowEx(0, WC_LISTVIEW, "", WS_CHILD | LVS_REPORT | WS_VISIBLE, 0, 0, 232, 190, hWnd, 0, GetModuleHandle(NULL), NULL); // Create Button HWND hButtonRefresh = CreateWindowEx(NULL, "BUTTON", "OK", WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, 10, 200, 110, 25, hWnd, NULL, GetModuleHandle(NULL), NULL);
Note: I have no problem with this effect, I just want to understand why this is happening!