dt1: TDateTimePicker;SendMessage(dt1.Handle, WM_LBUTTONDOWN,MK_LBUTTON,dt1.WIDTH-5);
onenter事件sendmessage(datetimepicker1.handle, wm_lbuttondown, mk_lbutton, datetimepicker1.width-5);