Click here to Skip to main content
15,909,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FILETIME? DosDateTimeToFileTime() ? Pin
Michael Dunn6-Dec-03 0:33
sitebuilderMichael Dunn6-Dec-03 0:33 
GeneralTutorial Recommendations Pin
Roger Wright5-Dec-03 7:03
professionalRoger Wright5-Dec-03 7:03 
GeneralRe: Tutorial Recommendations Pin
Michael P Butler5-Dec-03 8:44
Michael P Butler5-Dec-03 8:44 
GeneralRe: Tutorial Recommendations Pin
Roger Wright5-Dec-03 9:03
professionalRoger Wright5-Dec-03 9:03 
GeneralRe: Tutorial Recommendations Pin
Michael P Butler5-Dec-03 9:15
Michael P Butler5-Dec-03 9:15 
GeneralRe: Tutorial Recommendations Pin
Roger Wright5-Dec-03 10:12
professionalRoger Wright5-Dec-03 10:12 
GeneralRe: Tutorial Recommendations Pin
Jörgen Sigvardsson5-Dec-03 14:04
Jörgen Sigvardsson5-Dec-03 14:04 
Questionwait methods!!!? Pin
mitil203904823045-Dec-03 6:55
mitil203904823045-Dec-03 6:55 
Hi
I am not using mfc or any kind of complex thing
I just work with windows forms using c++.
My question is how can I have a have the following.
by clicking the fist Button. user starsts a while loop. In the loop a series of events take place, and then we ask the user to input something to textBox. user enters the data and,clicks the 2nd Button. the program gets the data and goes back to the loop continueing its job.

what i have so far is :

private: System::Void 1stbtn_Click(System::Object * sender, System::EventArgs * e)
{
while (mycondition is true)
{
...do the job
wait for 2ndbtn to be pressed;
...do the job
}

}
private: System::Void 2ndbtn_Click(System::Object * sender, System::EventArgs * e)
{
lol = textBox->Text;
}


what is the sytax and what libreries should be used?

AnswerRe: wait methods!!!? Pin
Joe Woodbury5-Dec-03 20:51
professionalJoe Woodbury5-Dec-03 20:51 
GeneralFunction Question Pin
Nitron5-Dec-03 6:36
Nitron5-Dec-03 6:36 
GeneralRe: Function Question Pin
Ivor S. Sargoytchev5-Dec-03 9:01
Ivor S. Sargoytchev5-Dec-03 9:01 
GeneralStartbar Message Monitoring Pin
Zero_divide_15-Dec-03 6:15
Zero_divide_15-Dec-03 6:15 
QuestionDynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:09
johannks5-Dec-03 5:09 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:16
Roger Allen5-Dec-03 5:16 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:21
Roger Allen5-Dec-03 5:21 
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:48
johannks5-Dec-03 5:48 
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 6:10
johannks5-Dec-03 6:10 
GeneralCTabCtrl is hiding my static text Pin
SteveLoGalbo5-Dec-03 4:26
SteveLoGalbo5-Dec-03 4:26 
Question: MFC articles/demos/srcs on DVD or CD? Pin
ns5-Dec-03 4:03
ns5-Dec-03 4:03 
AnswerRe: : MFC articles/demos/srcs on DVD or CD? Pin
RChin5-Dec-03 5:18
RChin5-Dec-03 5:18 
AnswerRe: : MFC articles/demos/srcs on DVD or CD? Pin
Ravi Bhavnani5-Dec-03 6:39
professionalRavi Bhavnani5-Dec-03 6:39 
GeneralRe: : MFC articles/demos/srcs on DVD or CD? Pin
ns5-Dec-03 7:48
ns5-Dec-03 7:48 
GeneralTabCtrl + Windows XP-Style Pin
mortal5-Dec-03 3:51
mortal5-Dec-03 3:51 
GeneralRe: TabCtrl + Windows XP-Style Pin
Joel Lucsy5-Dec-03 9:21
Joel Lucsy5-Dec-03 9:21 
GeneralRe: TabCtrl + Windows XP-Style Pin
mortal5-Dec-03 20:01
mortal5-Dec-03 20:01 

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.