Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get file name to input to 'IWMMetadataEditor' in C++ ? Pin
Supriya Tonape29-Jan-09 1:22
Supriya Tonape29-Jan-09 1:22 
QuestionThread Question Pin
Dennis L29-Jan-09 0:54
Dennis L29-Jan-09 0:54 
AnswerRe: Thread Question Pin
Code-o-mat29-Jan-09 0:59
Code-o-mat29-Jan-09 0:59 
GeneralRe: Thread Question [modified] Pin
Dennis L29-Jan-09 1:36
Dennis L29-Jan-09 1:36 
GeneralRe: Thread Question Pin
Code-o-mat29-Jan-09 1:56
Code-o-mat29-Jan-09 1:56 
GeneralRe: Thread Question Pin
Dennis L29-Jan-09 2:17
Dennis L29-Jan-09 2:17 
GeneralRe: Thread Question Pin
Code-o-mat29-Jan-09 2:32
Code-o-mat29-Jan-09 2:32 
GeneralRe: Thread Question Pin
Dennis L29-Jan-09 3:03
Dennis L29-Jan-09 3:03 
I have placed the Sleep in the progress callback function as:
bool DataCryptMain::ProgressBarProc(PRBDATA *prbdata)
{
...
Notify_Progress_GUI(NOTIFY_PROGRESS_RUNNING, NULL, (LPARAM)_prbdata);
Sleep(1);
}


You said: "Try to decrease the number of messages sent to your GUI, for example, send only every 10th status report, or check when you sent the last report and if a given amount of time (like,for exaple 100 ms) didn't ellapse yet then skip sending the message, OR perform the percentage calculation in your thread and only send a message towards the GUI if the new percentage is different from the previous one, this should reduce the messages heading towards the GUI to not more than around a 100 messages per run, which shouldn't be too much, unless you are some very low end hardware"

All these i'll try them by using PostMessage or SendMessage?
GeneralRe: Thread Question Pin
Stephen Hewitt29-Jan-09 2:27
Stephen Hewitt29-Jan-09 2:27 
AnswerRe: Thread Question Pin
SandipG 29-Jan-09 1:02
SandipG 29-Jan-09 1:02 
QuestionHooking into mouse messages in a Command/MSDOS window Pin
goop0029-Jan-09 0:46
goop0029-Jan-09 0:46 
AnswerRe: Hooking into mouse messages in a Command/MSDOS window Pin
ATM@CodeProject29-Jan-09 0:49
ATM@CodeProject29-Jan-09 0:49 
GeneralRe: Hooking into mouse messages in a Command/MSDOS window Pin
goop0029-Jan-09 0:53
goop0029-Jan-09 0:53 
AnswerRe: Hooking into mouse messages in a Command/MSDOS window Pin
«_Superman_»29-Jan-09 1:35
professional«_Superman_»29-Jan-09 1:35 
GeneralRe: Hooking into mouse messages in a Command/MSDOS window Pin
goop0029-Jan-09 3:21
goop0029-Jan-09 3:21 
QuestionHow to add a control at the Runtime in VC++? Pin
Pre1234529-Jan-09 0:27
Pre1234529-Jan-09 0:27 
AnswerRe: How to add a control at the Runtime in VC++? Pin
SandipG 29-Jan-09 0:31
SandipG 29-Jan-09 0:31 
QuestionRe: How to add a control at the Runtime in VC++? Pin
David Crow29-Jan-09 2:54
David Crow29-Jan-09 2:54 
QuestionUnicode issue, show chinese letters etc.!? Pin
bosfan29-Jan-09 0:18
bosfan29-Jan-09 0:18 
AnswerRe: Unicode issue, show chinese letters etc.!? Pin
Iain Clarke, Warrior Programmer29-Jan-09 0:37
Iain Clarke, Warrior Programmer29-Jan-09 0:37 
GeneralRe: Unicode issue, show chinese letters etc.!? Pin
bosfan29-Jan-09 0:54
bosfan29-Jan-09 0:54 
GeneralRe: Unicode issue, show chinese letters etc.!? Pin
«_Superman_»29-Jan-09 1:30
professional«_Superman_»29-Jan-09 1:30 
GeneralRe: Unicode issue, show chinese letters etc.!? Pin
bosfan29-Jan-09 1:32
bosfan29-Jan-09 1:32 
GeneralRe: Unicode issue, show chinese letters etc.!? Pin
bosfan29-Jan-09 1:42
bosfan29-Jan-09 1:42 
QuestionChanging the Image on the Toolbar button. Pin
gopalraja28-Jan-09 22:59
gopalraja28-Jan-09 22:59 

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.