Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConvert bmp to Text Pin
sonu25211-Oct-05 0:39
sonu25211-Oct-05 0:39 
AnswerRe: Convert bmp to Text Pin
Roger Stoltz11-Oct-05 1:30
Roger Stoltz11-Oct-05 1:30 
QuestionRepeated calling of a function Pin
nripun11-Oct-05 0:30
nripun11-Oct-05 0:30 
AnswerRe: Repeated calling of a function Pin
dharani11-Oct-05 0:46
dharani11-Oct-05 0:46 
GeneralRe: Repeated calling of a function Pin
sonu25211-Oct-05 1:14
sonu25211-Oct-05 1:14 
GeneralRe: Repeated calling of a function Pin
ky_rerun11-Oct-05 7:51
ky_rerun11-Oct-05 7:51 
AnswerRe: Repeated calling of a function Pin
Bob Stanneveld11-Oct-05 1:53
Bob Stanneveld11-Oct-05 1:53 
AnswerRe: Repeated calling of a function Pin
Tim Smith11-Oct-05 3:58
Tim Smith11-Oct-05 3:58 
In OnButton1, create a timer (i.e. SetTimer) with a delay of 1 millisecond. Let OnButton1 return. Inside the OnTimer method, update the edit control. Do not kill the timer. Inside of OnButton2, add a call to KillTimer to stop the timer.

This is very simple method of doing what you ask without having to create new threads or anything complicated. Since timer events are very low priority, the edit box will be allowed to update and the UI will continue to pump messages.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: Repeated calling of a function Pin
Trollslayer11-Oct-05 4:45
mentorTrollslayer11-Oct-05 4:45 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:14
nripun11-Oct-05 9:14 
GeneralRe: Repeated calling of a function Pin
PJ Arends11-Oct-05 15:45
professionalPJ Arends11-Oct-05 15:45 
GeneralRe: Repeated calling of a function Pin
Roger Stoltz11-Oct-05 21:32
Roger Stoltz11-Oct-05 21:32 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:15
nripun11-Oct-05 9:15 
QuestionON_UPDATE_COMMAND_UI Help me !!! Pin
dharani11-Oct-05 0:26
dharani11-Oct-05 0:26 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
ThatsAlok11-Oct-05 0:44
ThatsAlok11-Oct-05 0:44 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
dharani11-Oct-05 0:49
dharani11-Oct-05 0:49 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
ThatsAlok11-Oct-05 0:55
ThatsAlok11-Oct-05 0:55 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
Mircea Puiu11-Oct-05 0:57
Mircea Puiu11-Oct-05 0:57 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
David Crow11-Oct-05 2:46
David Crow11-Oct-05 2:46 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
tirucapricorn12-Oct-05 18:37
tirucapricorn12-Oct-05 18:37 
QuestionHow to get the total sectors of physical disk Pin
bghuang10-Oct-05 23:57
bghuang10-Oct-05 23:57 
AnswerRe: How to get the total sectors of physical disk Pin
Devendra Vaja11-Oct-05 0:08
Devendra Vaja11-Oct-05 0:08 
GeneralRe: How to get the total sectors of physical disk Pin
bghuang11-Oct-05 2:47
bghuang11-Oct-05 2:47 
GeneralRe: How to get the total sectors of physical disk Pin
Devendra Vaja14-Oct-05 23:36
Devendra Vaja14-Oct-05 23:36 
QuestionException while deletion -- scalar deleting destructor Pin
Divick10-Oct-05 23:50
Divick10-Oct-05 23:50 

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.