Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ question Pin
Jim Crafton11-Sep-05 8:43
Jim Crafton11-Sep-05 8:43 
GeneralRe: C++ question Pin
Christian Graus11-Sep-05 12:45
protectorChristian Graus11-Sep-05 12:45 
GeneralRe: C++ question Pin
David Crow12-Sep-05 4:20
David Crow12-Sep-05 4:20 
GeneralRe: C++ question Pin
Anonymous12-Sep-05 5:37
Anonymous12-Sep-05 5:37 
GeneralRe: C++ question Pin
Sveta8012-Sep-05 5:41
Sveta8012-Sep-05 5:41 
GeneralRe: C++ question Pin
David Crow12-Sep-05 6:20
David Crow12-Sep-05 6:20 
QuestionRedrawing problems Pin
dudeua11-Sep-05 6:19
dudeua11-Sep-05 6:19 
AnswerRe: Redrawing problems Pin
PJ Arends11-Sep-05 10:12
professionalPJ Arends11-Sep-05 10:12 
When you draw, are you trying to draw the whole control, including the parts that are not visible, or do you limit your drawing to the visible portions of the control only?

If your drawing code is spending lots of time trying to do stuff that is not even visible then you are just wasting CPU time and slowing everything down, causing the effects you are seeing.

[EDIT]
Also check out the GetClipBox() function.
[/EDIT]



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!

-- modified at 16:13 Sunday 11th September, 2005
GeneralRe: Redrawing problems Pin
dudeua11-Sep-05 10:44
dudeua11-Sep-05 10:44 
Questionproblem with fstream Pin
Member 224774911-Sep-05 3:24
Member 224774911-Sep-05 3:24 
QuestionHow to set the BackGround color of a window? Pin
eli1502197911-Sep-05 1:09
eli1502197911-Sep-05 1:09 
AnswerRe: How to set the BackGround color of a window? Pin
ThiefXXX11-Sep-05 11:16
ThiefXXX11-Sep-05 11:16 
AnswerRe: How to set the BackGround color of a window? Pin
Mircea Puiu12-Sep-05 4:40
Mircea Puiu12-Sep-05 4:40 
Questiontextbox Pin
lallaba10-Sep-05 23:26
lallaba10-Sep-05 23:26 
AnswerRe: textbox Pin
Mohammed F. Salem11-Sep-05 7:42
Mohammed F. Salem11-Sep-05 7:42 
QuestionColor map Pin
Ta Xuan Hung10-Sep-05 22:55
Ta Xuan Hung10-Sep-05 22:55 
AnswerRe: Color map Pin
Branislav12-Sep-05 0:54
Branislav12-Sep-05 0:54 
QuestionPutting a Large Icon in an MFC dialog box Pin
nde_plume10-Sep-05 21:27
nde_plume10-Sep-05 21:27 
QuestionXmlDocument: Retrieving validation file Pin
picazo10-Sep-05 14:57
picazo10-Sep-05 14:57 
AnswerResolved Pin
Anonymous10-Sep-05 16:19
Anonymous10-Sep-05 16:19 
Questiona help-bar Pin
Ali Tavakol10-Sep-05 12:08
Ali Tavakol10-Sep-05 12:08 
AnswerRe: a help-bar Pin
Ravi Bhavnani10-Sep-05 16:29
professionalRavi Bhavnani10-Sep-05 16:29 
QuestionOnButton1 Pin
Richard_4810-Sep-05 9:49
Richard_4810-Sep-05 9:49 
AnswerRe: OnButton1 Pin
ThiefXXX10-Sep-05 11:53
ThiefXXX10-Sep-05 11:53 
AnswerRe: OnButton1 Pin
David Crow10-Sep-05 17:11
David Crow10-Sep-05 17:11 

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.