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
BEGIN
DEFPUSHBUTTON "OK",IDOK,305,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,305,24,50,14
CONTROL "",IDC_DATETIMEPICKER1,"SysDateTimePick32",DTS_RIGHTALIGN | WS_TABSTOP,65,65,100,15
END
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.