Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Encrypt text using java and decrypt using C Pin
Niklas L17-Jun-10 11:18
Niklas L17-Jun-10 11:18 
AnswerRe: Encrypt text using java and decrypt using C Pin
Aescleal16-Jun-10 22:43
Aescleal16-Jun-10 22:43 
AnswerRe: Encrypt text using java and decrypt using C Pin
ThatsAlok16-Jun-10 23:54
ThatsAlok16-Jun-10 23:54 
GeneralRe: Encrypt text using java and decrypt using C Pin
Aescleal18-Jun-10 9:23
Aescleal18-Jun-10 9:23 
QuestionCClientDc Pin
VVVimal16-Jun-10 18:39
VVVimal16-Jun-10 18:39 
AnswerRe: CClientDc Pin
«_Superman_»16-Jun-10 18:54
professional«_Superman_»16-Jun-10 18:54 
AnswerRe: CClientDc Pin
Stephen Hewitt16-Jun-10 19:23
Stephen Hewitt16-Jun-10 19:23 
AnswerRe: CClientDc Pin
Aescleal16-Jun-10 22:50
Aescleal16-Jun-10 22:50 
Get rid of all drawing code in your OnTimer. Make sure OnPaint does all the
drawing correctly and then replace all the code in OnTimer with:

Invalidate();

That'll help sort out whether the problem is with the drawing code or whether you're committing another faux pas.

In case you're wondering Invalidate tells Windows that the window you've called it on needs repainting and it should send a WM_PAINT to the app when the message queue is otherwise empty. This WM_PAINT causes OnPaint to be called.

Cheers,

Ash
QuestionMs PowerPoint password protected File Pin
MsmVc16-Jun-10 18:11
MsmVc16-Jun-10 18:11 
AnswerRe: Ms PowerPoint password protected File Pin
MsmVc16-Jun-10 23:48
MsmVc16-Jun-10 23:48 
QuestionSave to a file Pin
thaiguy_md16-Jun-10 12:58
thaiguy_md16-Jun-10 12:58 
AnswerRe: Save to a file Pin
Rick York16-Jun-10 16:37
mveRick York16-Jun-10 16:37 
GeneralRe: Save to a file Pin
ThatsAlok16-Jun-10 23:55
ThatsAlok16-Jun-10 23:55 
QuestionSetWindowsHookEx and Callback Pin
AlmightyEdge16-Jun-10 10:26
AlmightyEdge16-Jun-10 10:26 
AnswerRe: SetWindowsHookEx and Callback [modified] Pin
Hristo-Bojilov16-Jun-10 11:14
Hristo-Bojilov16-Jun-10 11:14 
GeneralRe: SetWindowsHookEx and Callback Pin
AlmightyEdge16-Jun-10 12:48
AlmightyEdge16-Jun-10 12:48 
GeneralRe: SetWindowsHookEx and Callback Pin
AlmightyEdge18-Jun-10 2:59
AlmightyEdge18-Jun-10 2:59 
AnswerRe: SetWindowsHookEx and Callback Pin
Stephen Hewitt16-Jun-10 19:19
Stephen Hewitt16-Jun-10 19:19 
GeneralRe: SetWindowsHookEx and Callback Pin
AlmightyEdge18-Jun-10 3:00
AlmightyEdge18-Jun-10 3:00 
GeneralRe: SetWindowsHookEx and Callback Pin
Stephen Hewitt21-Jun-10 15:04
Stephen Hewitt21-Jun-10 15:04 
Questionwrap the wininet dll Pin
alto16-Jun-10 7:41
alto16-Jun-10 7:41 
AnswerRe: wrap the wininet dll Pin
ThatsAlok16-Jun-10 23:57
ThatsAlok16-Jun-10 23:57 
GeneralRe: wrap the wininet dll Pin
Moak17-Jun-10 3:43
Moak17-Jun-10 3:43 
Questionvalid date and time Pin
MKC00216-Jun-10 6:01
MKC00216-Jun-10 6:01 
AnswerRe: valid date and time Pin
CPallini16-Jun-10 6:19
mveCPallini16-Jun-10 6:19 

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.