Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with using class wincrypt.h Pin
Hamid_RT14-Oct-06 3:41
Hamid_RT14-Oct-06 3:41 
GeneralRe: Problem with using class wincrypt.h Pin
Yanshof14-Oct-06 3:46
Yanshof14-Oct-06 3:46 
GeneralRe: Problem with using class wincrypt.h Pin
Hamid_RT14-Oct-06 4:17
Hamid_RT14-Oct-06 4:17 
GeneralRe: Problem with using class wincrypt.h Pin
Yanshof14-Oct-06 4:27
Yanshof14-Oct-06 4:27 
GeneralRe: Problem with using class wincrypt.h Pin
Hamid_RT14-Oct-06 4:35
Hamid_RT14-Oct-06 4:35 
AnswerRe: Problem with using class wincrypt.h Pin
S Douglas14-Oct-06 22:32
professionalS Douglas14-Oct-06 22:32 
QuestionThe window Region Pin
Waldermort13-Oct-06 23:30
Waldermort13-Oct-06 23:30 
AnswerRe: The window Region Pin
Shog914-Oct-06 5:30
sitebuilderShog914-Oct-06 5:30 
A few places to look (in order!):
  1. Avoid erasing the background prior to redrawing - handle WM_ERASEBKGND
  2. Avoid changing the window region when the size hasn't changed - in WM_SIZE, store a copy of the current size, and when it's called again, check to make sure the size has actually changed before setting a new region.
  3. Check the speed of your drawing code. Temporarily replace it with something simple (but not too simple), like a pattern fill. If the flicker disappears, you probably need to work on optimizing your code.


every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

GeneralRe: The window Region Pin
Waldermort14-Oct-06 7:49
Waldermort14-Oct-06 7:49 
QuestionHelp Please Pin
radhika2813-Oct-06 21:37
radhika2813-Oct-06 21:37 
AnswerRe: Help Please Pin
Rajesh R Subramanian13-Oct-06 22:31
professionalRajesh R Subramanian13-Oct-06 22:31 
GeneralRe: Help Please Pin
radhika2813-Oct-06 22:46
radhika2813-Oct-06 22:46 
QuestionRe: Help Please Pin
Rajesh R Subramanian13-Oct-06 22:51
professionalRajesh R Subramanian13-Oct-06 22:51 
AnswerRe: Help Please Pin
radhika2813-Oct-06 23:57
radhika2813-Oct-06 23:57 
GeneralRe: Help Please Pin
Hamid_RT14-Oct-06 3:42
Hamid_RT14-Oct-06 3:42 
GeneralRe: Help Please [modified] Pin
radhika2814-Oct-06 4:03
radhika2814-Oct-06 4:03 
GeneralRe: Help Please Pin
Hamid_RT14-Oct-06 4:17
Hamid_RT14-Oct-06 4:17 
GeneralRe: Help Please Pin
radhika2815-Oct-06 20:15
radhika2815-Oct-06 20:15 
GeneralRe: Help Please Pin
Hamid_RT16-Oct-06 8:33
Hamid_RT16-Oct-06 8:33 
GeneralRe: Help Please Pin
radhika2817-Oct-06 1:35
radhika2817-Oct-06 1:35 
GeneralRe: Help Please Pin
Hamid_RT17-Oct-06 7:39
Hamid_RT17-Oct-06 7:39 
Questionrefresh screen, then get it , but bad? [modified] Pin
seeQe13-Oct-06 20:28
seeQe13-Oct-06 20:28 
AnswerRe: refresh screen, then get it , but bad? Pin
Hamid_RT14-Oct-06 3:43
Hamid_RT14-Oct-06 3:43 
GeneralRe: refresh screen, then get it , but bad? Pin
seeQe15-Oct-06 1:36
seeQe15-Oct-06 1:36 
GeneralRe: refresh screen, then get it , but bad? Pin
Hamid_RT16-Oct-06 8:33
Hamid_RT16-Oct-06 8:33 

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.