Click here to Skip to main content
15,891,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to create a dialog box? Pin
User 58385214-Oct-07 20:39
User 58385214-Oct-07 20:39 
GeneralRe: how to create a dialog box? Pin
AnayKulkarni14-Oct-07 20:55
AnayKulkarni14-Oct-07 20:55 
GeneralRe: how to create a dialog box? Pin
User 58385214-Oct-07 21:00
User 58385214-Oct-07 21:00 
GeneralRe: how to create a dialog box? Pin
Hamid_RT14-Oct-07 21:46
Hamid_RT14-Oct-07 21:46 
AnswerRe: how to create a dialog box? Pin
chandu00414-Oct-07 21:18
chandu00414-Oct-07 21:18 
QuestionRe: how to create a dialog box? Pin
Roger Broomfield14-Oct-07 21:43
Roger Broomfield14-Oct-07 21:43 
AnswerRe: how to create a dialog box? Pin
chandu00414-Oct-07 21:54
chandu00414-Oct-07 21:54 
GeneralRe: how to create a dialog box? Pin
JudyL_MD15-Oct-07 2:35
JudyL_MD15-Oct-07 2:35 
chandu004 wrote:
but i want to know weather timer is different in performance to the thread.
AFAIK timer is also a sort of a thread.


Timer performance is the same regardless of whether it is called from the primary thread or a secondary thread. A timer is NOT a thread-type object - it has no executable context. It is an object that is queued by the OS and released / signalled by the OS when the period has expired.


chandu004 wrote:
in the example which i have given, he can even customise his second thread, such that, it kills the dialog, after uploading is completed.


If a simple modeless dialog is used by the main thread to indicate download in progress, the main program can then destroy the box when download is complete. This is how most progress dialogs are implemented.

Judy
GeneralRe: how to create a dialog box? Pin
David Crow15-Oct-07 4:20
David Crow15-Oct-07 4:20 
AnswerRe: how to create a dialog box? Pin
Nibu babu thomas14-Oct-07 21:24
Nibu babu thomas14-Oct-07 21:24 
QuestionADsSecurity.dll [modified] Pin
narayanagvs14-Oct-07 20:04
narayanagvs14-Oct-07 20:04 
Questionabout two or more processes ReadWrite a file simultaneity? Pin
HOW WHAT14-Oct-07 19:52
HOW WHAT14-Oct-07 19:52 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:25
chandu00414-Oct-07 21:25 
GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:46
Naveen14-Oct-07 21:46 
GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:56
chandu00414-Oct-07 21:56 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:45
Naveen14-Oct-07 21:45 
QuestionAbout Windows Media Encoder SDK Pin
zakkas248314-Oct-07 18:28
zakkas248314-Oct-07 18:28 
Questiona problem about AllocSysString() Pin
nibabug14-Oct-07 17:34
nibabug14-Oct-07 17:34 
AnswerRe: a problem about AllocSysString() Pin
chandu00414-Oct-07 21:33
chandu00414-Oct-07 21:33 
QuestionHow to pass a struct to worker thread? [modified] Pin
kuibing14-Oct-07 16:54
kuibing14-Oct-07 16:54 
AnswerRe: How to pass a struct to worker thread? Pin
David Crow14-Oct-07 16:59
David Crow14-Oct-07 16:59 
Generalthanks a lot~ Pin
kuibing14-Oct-07 17:21
kuibing14-Oct-07 17:21 
QuestionDifferent Right menu for different area Pin
Michel_Huang14-Oct-07 16:54
Michel_Huang14-Oct-07 16:54 
AnswerRe: Different Right menu for different area Pin
David Crow14-Oct-07 17:01
David Crow14-Oct-07 17:01 
AnswerRe: Different Right menu for different area Pin
kuibing14-Oct-07 17:03
kuibing14-Oct-07 17:03 

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.