It seems the tinny button on the right has been disappear. whats wrong? am I missing something?
this is the code taken from resource.rc
CONTROL "",IDC_DATETIMEPICKER1,"SysDateTimePick32",DTS_RIGHTALIGN | WS_TABSTOP,65,65,100,15
and in code
CreateWindowEx(0, L"SysDateTimePick32",L"", DTS_RIGHTALIGN | WS_TABSTOP, ...);
same code work fine under windows XP with vs2005. The problem is interesting. When I use this control in resource dialog box it does not get created at all. But if I create it in code it does get created but without drop down icon on the right.
also one thing noticeable. On Resource Editor the button that was suppose to be visible it shows as some different icon. that is it cannot create the icon.