Click here to Skip to main content
16,004,927 members
Home / Discussions / C#
   

C#

 
QuestionDifferences between strings Pin
tzuiop10-Mar-07 5:51
tzuiop10-Mar-07 5:51 
AnswerRe: Differences between strings Pin
Christian Graus10-Mar-07 5:57
protectorChristian Graus10-Mar-07 5:57 
AnswerRe: Differences between strings Pin
Phillip M. Hoff10-Mar-07 16:43
Phillip M. Hoff10-Mar-07 16:43 
Questionmove image through a path [modified] Pin
waleed9910-Mar-07 5:33
waleed9910-Mar-07 5:33 
AnswerRe: move image through a path Pin
Christian Graus10-Mar-07 5:43
protectorChristian Graus10-Mar-07 5:43 
GeneralRe: move image through a path Pin
waleed9910-Mar-07 21:13
waleed9910-Mar-07 21:13 
QuestionProblem with painting a form Pin
-raada-10-Mar-07 5:06
-raada-10-Mar-07 5:06 
AnswerRe: Problem with painting a form Pin
Christian Graus10-Mar-07 5:15
protectorChristian Graus10-Mar-07 5:15 
-raada- wrote:
How can I suppress repaintig a form everytime I move other window over the form or scroll it?


You can't.


-raada- wrote:
Can I control painting the form only programmaticaly, makes the form holds its state when other window covers it and simply ignore such an events?


What you are asking is, you want the form to not refresh itself when it is obscured. If the form is covered, it won't paint itself. It will paint itself when it is uncovered again, or it will be blank.

You can set the AllPaintInWMPaint ( something like that ) control flag, and override the Paint event to control exactly what gets painted. You could set flags within the program which cause this event to do nothing, but, of course, your program will then be ugly.

How do you know that the paint event is your performance problem ? What are you painting ?


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Problem with painting a form Pin
-raada-10-Mar-07 7:49
-raada-10-Mar-07 7:49 
GeneralRe: Problem with painting a form Pin
Christian Graus10-Mar-07 8:10
protectorChristian Graus10-Mar-07 8:10 
AnswerRe: Problem with painting a form Pin
Luc Pattyn10-Mar-07 15:15
sitebuilderLuc Pattyn10-Mar-07 15:15 
GeneralRe: Problem with painting a form Pin
-raada-12-Mar-07 12:03
-raada-12-Mar-07 12:03 
GeneralRe: Problem with painting a form Pin
Luc Pattyn12-Mar-07 12:37
sitebuilderLuc Pattyn12-Mar-07 12:37 
QuestionError Pin
shamsteady10-Mar-07 4:43
shamsteady10-Mar-07 4:43 
AnswerRe: Error Pin
Christian Graus10-Mar-07 4:48
protectorChristian Graus10-Mar-07 4:48 
GeneralRe: Error Pin
shamsteady10-Mar-07 5:00
shamsteady10-Mar-07 5:00 
GeneralRe: Error Pin
Christian Graus10-Mar-07 5:16
protectorChristian Graus10-Mar-07 5:16 
AnswerRe: Error Pin
M-Hall10-Mar-07 6:48
M-Hall10-Mar-07 6:48 
GeneralRe: Error Pin
shamsteady10-Mar-07 7:01
shamsteady10-Mar-07 7:01 
GeneralRe: Error Pin
Christian Graus10-Mar-07 7:27
protectorChristian Graus10-Mar-07 7:27 
QuestionDo you know any API that can get the name of DVD movie? [modified] Pin
Khoramdin10-Mar-07 4:30
Khoramdin10-Mar-07 4:30 
AnswerRe: Do you know any API that can get the name of DVD movie? Pin
Christian Graus10-Mar-07 5:17
protectorChristian Graus10-Mar-07 5:17 
QuestionRe: Do you know any API that can get the name of DVD movie? Pin
Khoramdin11-Mar-07 9:31
Khoramdin11-Mar-07 9:31 
QuestionNeed help creating thumbnails Pin
Mark F.10-Mar-07 4:15
Mark F.10-Mar-07 4:15 
AnswerRe: Need help creating thumbnails Pin
Christian Graus10-Mar-07 5:17
protectorChristian Graus10-Mar-07 5:17 

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.