Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use HWND provided by SPY++ in my Application Pin
swarup17-Dec-06 11:10
swarup17-Dec-06 11:10 
AnswerRe: how to use HWND provided by SPY++ in my Application Pin
prasad_som17-Dec-06 18:29
prasad_som17-Dec-06 18:29 
GeneralRe: how to use HWND provided by SPY++ in my Application Pin
swarup17-Dec-06 22:49
swarup17-Dec-06 22:49 
AnswerRe: how to use HWND provided by SPY++ in my Application Pin
prasad_som16-Dec-06 23:52
prasad_som16-Dec-06 23:52 
GeneralRe: how to use HWND provided by SPY++ in my Application Pin
CPallini17-Dec-06 4:05
mveCPallini17-Dec-06 4:05 
GeneralRe: how to use HWND provided by SPY++ in my Application Pin
prasad_som17-Dec-06 18:33
prasad_som17-Dec-06 18:33 
AnswerRe: how to use HWND provided by SPY++ in my Application Pin
swarup30-Dec-06 4:44
swarup30-Dec-06 4:44 
QuestionDialog Static ControlTrouble Pin
mike holleywell15-Dec-06 15:38
mike holleywell15-Dec-06 15:38 
Hi everybody,

I have encountered a strange problem, and I don't even know why it is happening. Anyways, I have a dialog box that has a progress bar, and some static controls that show the elapsed time, percentage...and such. Now, I start a new thread and do the work, and update the static controls with SetDlgItemText (this is no MFC app, just Win32 and ATL). Now the static controls displays the text correctly only the first time, and later on the new text draws over the previous one, and after a while static controls just show a complete mess! I discovered that if I open any other window in front of my window, and then move it away, the static controls will briefly show the text correctly, but then again is the same. I suppose it got something to do with the messages those controls are receiving, but can't figure out why. It is as if the controls are drawing the text, but not deleting the previous one.

Thank you.
AnswerRe: Dialog Static ControlTrouble Pin
Mark Salsbery15-Dec-06 15:59
Mark Salsbery15-Dec-06 15:59 
GeneralRe: Dialog Static ControlTrouble Pin
mike holleywell15-Dec-06 16:30
mike holleywell15-Dec-06 16:30 
GeneralRe: Dialog Static ControlTrouble Pin
Hamid_RT15-Dec-06 18:07
Hamid_RT15-Dec-06 18:07 
GeneralRe: Dialog Static ControlTrouble Pin
mike holleywell16-Dec-06 0:35
mike holleywell16-Dec-06 0:35 
GeneralRe: Dialog Static ControlTrouble Pin
Mark Salsbery16-Dec-06 8:31
Mark Salsbery16-Dec-06 8:31 
GeneralThen post the code having troubles... Pin
CPallini15-Dec-06 22:06
mveCPallini15-Dec-06 22:06 
AnswerRe: Dialog Static ControlTrouble Pin
Gary R. Wheeler16-Dec-06 3:05
Gary R. Wheeler16-Dec-06 3:05 
GeneralRe: Dialog Static ControlTrouble Pin
mike holleywell16-Dec-06 4:45
mike holleywell16-Dec-06 4:45 
Questionembedding applications and music Pin
ibtt115-Dec-06 14:06
ibtt115-Dec-06 14:06 
AnswerRe: embedding applications and music Pin
Rajesh R Subramanian17-Dec-06 18:22
professionalRajesh R Subramanian17-Dec-06 18:22 
QuestionNot Getting Color w/ MFC... Pin
CoffeeAddict1915-Dec-06 8:21
CoffeeAddict1915-Dec-06 8:21 
AnswerRe: Not Getting Color w/ MFC... Pin
Mark Salsbery15-Dec-06 9:12
Mark Salsbery15-Dec-06 9:12 
AnswerRe: Not Getting Color w/ MFC... Pin
Mark Salsbery15-Dec-06 9:26
Mark Salsbery15-Dec-06 9:26 
GeneralRe: Not Getting Color w/ MFC... Pin
CoffeeAddict1915-Dec-06 10:24
CoffeeAddict1915-Dec-06 10:24 
GeneralRe: Not Getting Color w/ MFC... Pin
Mark Salsbery15-Dec-06 10:46
Mark Salsbery15-Dec-06 10:46 
GeneralRe: Not Getting Color w/ MFC... Pin
CoffeeAddict1915-Dec-06 10:51
CoffeeAddict1915-Dec-06 10:51 
GeneralRe: Not Getting Color w/ MFC... [modified] Pin
Mark Salsbery15-Dec-06 12:09
Mark Salsbery15-Dec-06 12:09 

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.