D DELPHI.X Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-12 #1 怎么样发送消息给Delphi的MonthCalendar控件,实现可以设置它的日期!
D DELPHI.X Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-12 #2 怎么样发送消息给Delphi的MonthCalendar控件,实现可以设置它的日期!
晶 晶晶 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-22 #3 delphi有源代码的啊:<br>function MonthCal_SetCurSel(hmc: HWND; const pst: TSystemTime): BOOL;<br>begin<br> Result := BOOL(SendMessage(hmc, MCM_SETCURSEL, 0, Longint(@pst)));<br>end;<br>你可以直接使用SendMessage(hmc, MCM_SETCURSEL, 0, Longint(@pst))不就行了?!
delphi有源代码的啊:<br>function MonthCal_SetCurSel(hmc: HWND; const pst: TSystemTime): BOOL;<br>begin<br> Result := BOOL(SendMessage(hmc, MCM_SETCURSEL, 0, Longint(@pst)));<br>end;<br>你可以直接使用SendMessage(hmc, MCM_SETCURSEL, 0, Longint(@pst))不就行了?!