Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recording my internet browsing on file Pin
Member 83534878-Nov-11 5:04
Member 83534878-Nov-11 5:04 
GeneralRe: Recording my internet browsing on file Pin
BobJanova8-Nov-11 5:19
BobJanova8-Nov-11 5:19 
QuestionWM_NCPAINT and Massive Amount of Flicker Pin
Matt U.7-Nov-11 14:39
Matt U.7-Nov-11 14:39 
AnswerRe: WM_NCPAINT and Massive Amount of Flicker Pin
Luc Pattyn7-Nov-11 15:35
sitebuilderLuc Pattyn7-Nov-11 15:35 
GeneralRe: WM_NCPAINT and Massive Amount of Flicker Pin
Matt U.7-Nov-11 15:43
Matt U.7-Nov-11 15:43 
AnswerRe: WM_NCPAINT and Massive Amount of Flicker Pin
Luc Pattyn7-Nov-11 16:06
sitebuilderLuc Pattyn7-Nov-11 16:06 
GeneralRe: WM_NCPAINT and Massive Amount of Flicker Pin
Matt U.7-Nov-11 16:25
Matt U.7-Nov-11 16:25 
AnswerRe: WM_NCPAINT and Massive Amount of Flicker Pin
Luc Pattyn8-Nov-11 1:38
sitebuilderLuc Pattyn8-Nov-11 1:38 
Hi,

without knowing much more on your exact situation, this is all I can tell you about the subject:

1. some flickering is unavoidable; the annoyance of flickering is proportional to the time it takes from the start of EraseBackGround to the end of Paint itself, and inversionally proportional to the frequency of your Paint calls. That is why shortening EraseBackGround and/or Paint is beneficial.

2. you can use double-buffering, where an unseen bitmap is operated on, and when ready the area is bitblitted to the screen (this doesn't require an EraseBackGround); either organize that yourself, or have the Control (or Form) do it for you.

3. there are a number of articles on OnNcPaint here at CP; I suggest you use CP search to locate and then read some of them.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: WM_NCPAINT and Massive Amount of Flicker Pin
J a a n s7-Nov-11 21:52
professionalJ a a n s7-Nov-11 21:52 
QuestionI want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
zahra19917-Nov-11 7:28
zahra19917-Nov-11 7:28 
AnswerMessage Removed Pin
7-Nov-11 7:34
professionalN_tro_P7-Nov-11 7:34 
GeneralRe: I want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
zahra19917-Nov-11 7:37
zahra19917-Nov-11 7:37 
GeneralMessage Removed Pin
7-Nov-11 8:04
professionalN_tro_P7-Nov-11 8:04 
GeneralRe: I want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
zahra19917-Nov-11 8:14
zahra19917-Nov-11 8:14 
GeneralMessage Removed Pin
7-Nov-11 8:41
professionalN_tro_P7-Nov-11 8:41 
GeneralRe: I want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
zahra19917-Nov-11 8:44
zahra19917-Nov-11 8:44 
GeneralRe: I want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
zahra19917-Nov-11 8:58
zahra19917-Nov-11 8:58 
AnswerRe: I want to use switch statement in windows form application how to use switch statement through buttons and textboxes ? Pin
BillWoodruff7-Nov-11 19:32
professionalBillWoodruff7-Nov-11 19:32 
QuestionPound sign in XML Pin
RugbyLeague7-Nov-11 1:54
RugbyLeague7-Nov-11 1:54 
AnswerRe: Pound sign in XML Pin
Reiss7-Nov-11 3:32
professionalReiss7-Nov-11 3:32 
GeneralRe: Pound sign in XML Pin
RugbyLeague7-Nov-11 3:37
RugbyLeague7-Nov-11 3:37 
GeneralRe: Pound sign in XML Pin
Reiss7-Nov-11 3:40
professionalReiss7-Nov-11 3:40 
GeneralRe: Pound sign in XML Pin
RugbyLeague7-Nov-11 3:41
RugbyLeague7-Nov-11 3:41 
GeneralRe: Pound sign in XML Pin
Reiss7-Nov-11 3:59
professionalReiss7-Nov-11 3:59 
GeneralRe: Pound sign in XML Pin
RugbyLeague7-Nov-11 4:16
RugbyLeague7-Nov-11 4:16 

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.