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

C / C++ / MFC

 
AnswerRe: TCHAR[500] to const char* Pin
CPallini22-Nov-07 0:11
mveCPallini22-Nov-07 0:11 
AnswerRe: TCHAR[500] to const char* Pin
winter7723-Nov-07 19:32
winter7723-Nov-07 19:32 
QuestionOn Timer Pin
Chandrasekharan P21-Nov-07 23:40
Chandrasekharan P21-Nov-07 23:40 
AnswerRe: On Timer Pin
KarstenK22-Nov-07 0:35
mveKarstenK22-Nov-07 0:35 
AnswerRe: On Timer Pin
GauranG Shah22-Nov-07 1:58
GauranG Shah22-Nov-07 1:58 
AnswerRe: On Timer Pin
pierre_ribery22-Nov-07 11:14
pierre_ribery22-Nov-07 11:14 
GeneralRe: On Timer Pin
Chandrasekharan P22-Nov-07 16:31
Chandrasekharan P22-Nov-07 16:31 
GeneralRe: On Timer Pin
pierre_ribery22-Nov-07 19:43
pierre_ribery22-Nov-07 19:43 
ok, if I understand you correc, you want to increment the value of an edit box every 1 second, starting from 0 going to 100. If that is the case, then a timer is the way to go.

Your timer needs to be set up for 1000ms(1sec). You have set it up for 100ms only.

SetTimer(1,1000,NULL);

Now create a member variable for your edit control of type "value" and set its datatype to int. Lets call it "value".

In OnTimer:

if (nIDEvent==1)
{
if(value < 100)
{
value++;
UpdateData(FALSE);
}
}
GeneralRe: On Timer Pin
Chandrasekharan P25-Nov-07 18:16
Chandrasekharan P25-Nov-07 18:16 
QuestionCreating a exe on a button click event Pin
neha.agarwal2721-Nov-07 23:38
neha.agarwal2721-Nov-07 23:38 
AnswerRe: Creating a exe on a button click event Pin
Hamid_RT22-Nov-07 0:24
Hamid_RT22-Nov-07 0:24 
GeneralRe: Creating a exe on a button click event Pin
neha.agarwal2722-Nov-07 0:32
neha.agarwal2722-Nov-07 0:32 
GeneralRe: Creating a exe on a button click event Pin
Iain Clarke, Warrior Programmer22-Nov-07 3:47
Iain Clarke, Warrior Programmer22-Nov-07 3:47 
GeneralRe: Creating a exe on a button click event Pin
Hamid_RT22-Nov-07 3:53
Hamid_RT22-Nov-07 3:53 
GeneralRe: Creating a exe on a button click event Pin
Iain Clarke, Warrior Programmer22-Nov-07 5:54
Iain Clarke, Warrior Programmer22-Nov-07 5:54 
QuestionCListView Pin
si_6921-Nov-07 23:37
si_6921-Nov-07 23:37 
AnswerRe: CListView Pin
Nelek22-Nov-07 22:15
protectorNelek22-Nov-07 22:15 
QuestionHow to extend the count of Spin Button in VC++.....its very urgent Pin
paragrudrawar21-Nov-07 22:39
paragrudrawar21-Nov-07 22:39 
AnswerRe: How to extend the count of Spin Button in VC++.....its very urgent Pin
Iain Clarke, Warrior Programmer22-Nov-07 3:52
Iain Clarke, Warrior Programmer22-Nov-07 3:52 
GeneralRe: How to extend the count of Spin Button in VC++.....its very urgent Pin
paragrudrawar22-Nov-07 4:15
paragrudrawar22-Nov-07 4:15 
GeneralRe: How to extend the count of Spin Button in VC++.....its very urgent Pin
Iain Clarke, Warrior Programmer22-Nov-07 6:02
Iain Clarke, Warrior Programmer22-Nov-07 6:02 
GeneralRe: How to extend the count of Spin Button in VC++.....its very urgent Pin
paragrudrawar22-Nov-07 17:40
paragrudrawar22-Nov-07 17:40 
QuestionSelf Extractor from starting Pin
neha.agarwal2721-Nov-07 22:06
neha.agarwal2721-Nov-07 22:06 
AnswerRe: Self Extractor from starting Pin
Nelek21-Nov-07 22:46
protectorNelek21-Nov-07 22:46 
AnswerRe: Self Extractor from starting Pin
jhwurmbach22-Nov-07 0:45
jhwurmbach22-Nov-07 0:45 

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.