Click here to Skip to main content
15,947,612 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSetting minimum size of a dockable view? Pin
Redeye9213-Oct-08 23:11
Redeye9213-Oct-08 23:11 
QuestionHow to calculate a date one moth before from Current date? Pin
megha_gharote13-Oct-08 23:08
megha_gharote13-Oct-08 23:08 
AnswerRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian13-Oct-08 23:26
professionalRajesh R Subramanian13-Oct-08 23:26 
GeneralRe: How to calculate a date one moth before from Current date? Pin
megha_gharote13-Oct-08 23:30
megha_gharote13-Oct-08 23:30 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian13-Oct-08 23:42
professionalRajesh R Subramanian13-Oct-08 23:42 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Nelek14-Oct-08 0:47
protectorNelek14-Oct-08 0:47 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian14-Oct-08 0:50
professionalRajesh R Subramanian14-Oct-08 0:50 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian14-Oct-08 0:58
professionalRajesh R Subramanian14-Oct-08 0:58 
Nelek wrote:
What about if you are on 30th or 31st of march? Or any other 31st where the moth before only 30 has? Won't it crash?


BTW, I forgot to mention it won't *Crash* anyways.

SYSTEMTIME is just a structure and it can store the value you put into it. The trouble may come, only when a call to something like SetTime() is called with the new time structure after decrement has happened. Smile | :)

Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche

.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]

AnswerRe: How to calculate a date one moth before from Current date? [fixed] Pin
CPallini13-Oct-08 23:37
mveCPallini13-Oct-08 23:37 
AnswerRe: How to calculate a date one moth before from Current date? Pin
enhzflep13-Oct-08 23:46
enhzflep13-Oct-08 23:46 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian13-Oct-08 23:49
professionalRajesh R Subramanian13-Oct-08 23:49 
GeneralRe: How to calculate a date one moth before from Current date? Pin
enhzflep13-Oct-08 23:57
enhzflep13-Oct-08 23:57 
GeneralRe: How to calculate a date one moth before from Current date? Pin
CPallini14-Oct-08 0:31
mveCPallini14-Oct-08 0:31 
GeneralRe: How to calculate a date one moth before from Current date? Pin
Rajesh R Subramanian14-Oct-08 0:39
professionalRajesh R Subramanian14-Oct-08 0:39 
AnswerRe: How to calculate a date one moth before from Current date? Pin
David Crow14-Oct-08 3:23
David Crow14-Oct-08 3:23 
QuestionSpeed problem in Excel sheet generation Pin
ilgale13-Oct-08 22:36
ilgale13-Oct-08 22:36 
AnswerRe: Speed problem in Excel sheet generation Pin
Roger Stoltz13-Oct-08 22:40
Roger Stoltz13-Oct-08 22:40 
GeneralRe: Speed problem in Excel sheet generation Pin
ilgale13-Oct-08 22:49
ilgale13-Oct-08 22:49 
GeneralRe: Speed problem in Excel sheet generation Pin
Rajesh R Subramanian13-Oct-08 23:16
professionalRajesh R Subramanian13-Oct-08 23:16 
GeneralRe: Speed problem in Excel sheet generation Pin
Roger Stoltz13-Oct-08 23:39
Roger Stoltz13-Oct-08 23:39 
JokeRe: Speed problem in Excel sheet generation Pin
CPallini13-Oct-08 22:47
mveCPallini13-Oct-08 22:47 
QuestionCompilation Error!!! undeclared variable :-( Pin
param_joshi13-Oct-08 22:10
param_joshi13-Oct-08 22:10 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
Saurabh.Garg13-Oct-08 23:42
Saurabh.Garg13-Oct-08 23:42 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
David Crow14-Oct-08 3:32
David Crow14-Oct-08 3:32 
GeneralRe: Compilation Error!!! undeclared variable :-( Pin
Jason Hamilton14-Oct-08 4:38
Jason Hamilton14-Oct-08 4:38 

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.