Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Interfacing with other S/W Pin
Christian Graus9-Oct-01 21:05
protectorChristian Graus9-Oct-01 21:05 
GeneralRe: Interfacing with other S/W Pin
markkuk9-Oct-01 23:15
markkuk9-Oct-01 23:15 
QuestionCan not access serial port on Win2k Pin
KMilind9-Oct-01 20:46
KMilind9-Oct-01 20:46 
AnswerRe: Can not access serial port on Win2k Pin
Tim Smith10-Oct-01 1:50
Tim Smith10-Oct-01 1:50 
GeneralRe: Can not access serial port on Win2k Pin
KMilind10-Oct-01 18:13
KMilind10-Oct-01 18:13 
Generalfile locking problem... Pin
l a u r e n9-Oct-01 20:31
l a u r e n9-Oct-01 20:31 
GeneralWinsock2 Speed Problem Pin
ColinDavies9-Oct-01 18:16
ColinDavies9-Oct-01 18:16 
GeneralSetWindowText Pin
Jimolo9-Oct-01 17:17
Jimolo9-Oct-01 17:17 
hi all,
in my project, i have a long procedure to run (around 1sec). i want to display a kind of status on screen when this procedure running. i found some problem.
in my code,

CABC::OnButton1
{
this->SetWindowText("start"); // display in window caption
m_edit->SetWindowText("start"); // display in a editbox
LongProcedure();
this->SetWindowText("finish"); // display in window caption
m_edit->SetWindowText("finish"); // display in a editbox
}
the result is that, only window caption display "start" and "finish" accordingly. the editbox can only able to display "finish" after the longprocedure(). seems to me that, the editbox only update after the finished the OnButton1 procedure...
does anyone know how to display "start" in editbox, start the longprocedure(), and display "finish" in editbox after long procedure() accordingly?

regards,
Jim
GeneralRe: SetWindowText Pin
9-Oct-01 18:54
suss9-Oct-01 18:54 
QuestionHow to share handle in dll among the process ? Pin
9-Oct-01 16:42
suss9-Oct-01 16:42 
GeneralCDatabase and Access files Pin
Paul Selormey9-Oct-01 15:56
Paul Selormey9-Oct-01 15:56 
GeneralRe: CDatabase and Access files Pin
9-Oct-01 19:03
suss9-Oct-01 19:03 
GeneralRe: CDatabase and Access files Pin
Paul Selormey9-Oct-01 20:40
Paul Selormey9-Oct-01 20:40 
GeneralAdding Hyperlinks to dialogs Pin
9-Oct-01 14:49
suss9-Oct-01 14:49 
GeneralRe: Adding Hyperlinks to dialogs Pin
Paul Selormey9-Oct-01 15:47
Paul Selormey9-Oct-01 15:47 
GeneralTree Control Pin
Vu Nguyen9-Oct-01 14:20
Vu Nguyen9-Oct-01 14:20 
GeneralRe: Tree Control Pin
Paolo Messina10-Oct-01 9:41
professionalPaolo Messina10-Oct-01 9:41 
GeneralRe: Tree Control Pin
Vu Nguyen10-Oct-01 10:33
Vu Nguyen10-Oct-01 10:33 
GeneralRe: Tree Control Pin
Chambers18-Oct-01 1:15
Chambers18-Oct-01 1:15 
GeneralRe: Tree Control Pin
Paolo Messina18-Oct-01 2:13
professionalPaolo Messina18-Oct-01 2:13 
Generalseeking the BCGControlBar 4.7 Pin
9-Oct-01 11:27
suss9-Oct-01 11:27 
GeneralRe: seeking the BCGControlBar 4.7 Pin
Paul Selormey9-Oct-01 15:40
Paul Selormey9-Oct-01 15:40 
GeneralEditbox Validation when hitting enter Pin
Steve The Plant9-Oct-01 10:34
Steve The Plant9-Oct-01 10:34 
GeneralRe: Editbox Validation when hitting enter Pin
Carlos Antollini9-Oct-01 11:18
Carlos Antollini9-Oct-01 11:18 
GeneralRe: Editbox Validation when hitting enter Pin
9-Oct-01 18:51
suss9-Oct-01 18:51 

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.