不能只调用 InitCommonControls(),
而必须调用以下代码:
//Required in order to use the calendar and DTP controls
INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(icex);
icex.dwICC = ICC_DATE_CLASSES;
InitCommonControlsEx(&icex);