Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerUhm... Thermometer? Pin
CPallini7-Jan-08 11:18
mveCPallini7-Jan-08 11:18 
AnswerRe: how cai i get cpu temperature without wmi Pin
Hamid_RT7-Jan-08 18:14
Hamid_RT7-Jan-08 18:14 
GeneralWinInet: Open an URL simulating HTML Form POST Pin
Nyarlatotep7-Jan-08 8:56
Nyarlatotep7-Jan-08 8:56 
GeneralCOleDateTime and SetRange Pin
littleGreenDude7-Jan-08 7:00
littleGreenDude7-Jan-08 7:00 
QuestionRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 7:04
David Crow7-Jan-08 7:04 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 7:08
littleGreenDude7-Jan-08 7:08 
QuestionRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 7:33
David Crow7-Jan-08 7:33 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 8:00
littleGreenDude7-Jan-08 8:00 
No. That sets the allowable range for the 2nd date control. The minimum can be one day before the date of the 1st date control, and the maximum can be up to one day after the date of the 1st control.

((CDateTimeCtrl*)GetDlgItem(IDC_DTC_FINALIZE_DATE))->SetRange(&dtMinRange, &dtMaxRange);

The user should be allowed to change the 2nd date to any value within the 3 day range. But, when they change the date in the 1st control, the range should reset and the new default date of the 2nd date control should be the value of the 1st date control.
QuestionRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 8:07
David Crow7-Jan-08 8:07 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 8:14
littleGreenDude7-Jan-08 8:14 
QuestionRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 8:29
David Crow7-Jan-08 8:29 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 8:33
littleGreenDude7-Jan-08 8:33 
GeneralRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 8:38
David Crow7-Jan-08 8:38 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 8:53
littleGreenDude7-Jan-08 8:53 
QuestionRe: COleDateTime and SetRange Pin
David Crow7-Jan-08 10:11
David Crow7-Jan-08 10:11 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 10:00
littleGreenDude7-Jan-08 10:00 
GeneralRe: COleDateTime and SetRange Pin
jeron17-Jan-08 7:48
jeron17-Jan-08 7:48 
GeneralRe: COleDateTime and SetRange Pin
littleGreenDude7-Jan-08 7:54
littleGreenDude7-Jan-08 7:54 
QuestionCListView - item highliting control ?? Pin
Vaclav_7-Jan-08 6:13
Vaclav_7-Jan-08 6:13 
AnswerRe: CListView - item highliting control ?? Pin
David Crow7-Jan-08 7:06
David Crow7-Jan-08 7:06 
GeneralRe: CListView - item highliting control ?? Pin
Vaclav_7-Jan-08 7:49
Vaclav_7-Jan-08 7:49 
QuestionRe: CListView - item highliting control ?? Pin
David Crow7-Jan-08 7:57
David Crow7-Jan-08 7:57 
GeneralRe: CListView - item highliting control ?? Pin
Vaclav_7-Jan-08 8:08
Vaclav_7-Jan-08 8:08 
QuestionRe: CListView - item highliting control ?? Pin
David Crow7-Jan-08 8:13
David Crow7-Jan-08 8:13 
GeneralRe: CListView - item highliting control ?? Pin
Vaclav_7-Jan-08 11:48
Vaclav_7-Jan-08 11:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.