Click here to Skip to main content
15,926,507 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: smooth motion Pin
Dave Kreskowiak11-May-09 6:48
mveDave Kreskowiak11-May-09 6:48 
The only way you're going to get smooth motion is to stop using controls to render all of your content, and even then, you might not get what you want, but it'll be a VAST improvement. You have to handle the Paint event of your form and draw all of your content yourself. Controls are too expensive to redraw and, from what I see if your small code snippet, you're not giving the form any time to redraw the controls in a timely fashion.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: smooth motion Pin
TheMrProgrammer11-May-09 7:06
TheMrProgrammer11-May-09 7:06 
GeneralRe: smooth motion Pin
Luc Pattyn11-May-09 7:33
sitebuilderLuc Pattyn11-May-09 7:33 
Questionhow to view orginal address format in textbox Pin
JC.KaNNaN11-May-09 1:37
JC.KaNNaN11-May-09 1:37 
AnswerRe: how to view orginal address format in textbox Pin
dan!sh 11-May-09 1:54
professional dan!sh 11-May-09 1:54 
GeneralRe: how to view orginal address format in textbox Pin
JC.KaNNaN11-May-09 2:29
JC.KaNNaN11-May-09 2:29 
AnswerRe: how to view orginal address format in textbox Pin
riced11-May-09 6:01
riced11-May-09 6:01 
QuestionCompare Date Pin
vijay248210-May-09 23:59
vijay248210-May-09 23:59 
AnswerRe: Compare Date Pin
dan!sh 11-May-09 0:46
professional dan!sh 11-May-09 0:46 
GeneralRe: Compare Date Pin
vijay248211-May-09 1:08
vijay248211-May-09 1:08 
GeneralRe: Compare Date Pin
dan!sh 11-May-09 1:47
professional dan!sh 11-May-09 1:47 
GeneralRe: Compare Date Pin
vijay248211-May-09 1:48
vijay248211-May-09 1:48 
AnswerRe: Compare Date Pin
riced11-May-09 2:48
riced11-May-09 2:48 
QuestionControl not coming in designer. Pin
Pankaj-codeproject10-May-09 23:43
Pankaj-codeproject10-May-09 23:43 
AnswerRe: Control not coming in designer. Pin
N a v a n e e t h10-May-09 23:45
N a v a n e e t h10-May-09 23:45 
AnswerRe: Control not coming in designer. Pin
DaveyM6912-May-09 4:20
professionalDaveyM6912-May-09 4:20 
QuestionParent-Child Relationship Question Pin
vijay248210-May-09 22:58
vijay248210-May-09 22:58 
AnswerRe: Parent-Child Relationship Question[SOLVED] Pin
vijay248211-May-09 2:12
vijay248211-May-09 2:12 
QuestionPresenting data in a bar graph/pie chart [modified] Pin
gnxc10-May-09 17:39
gnxc10-May-09 17:39 
AnswerRe: Presenting data in a bar graph/pie chart Pin
Andy_L_J10-May-09 22:02
Andy_L_J10-May-09 22:02 
AnswerRe: Presenting data in a bar graph/pie chart Pin
DidiKunz12-May-09 22:12
DidiKunz12-May-09 22:12 
GeneralRe: Presenting data in a bar graph/pie chart Pin
gnxc1-Jun-09 17:29
gnxc1-Jun-09 17:29 
QuestionFocus of form Pin
Kevin223210-May-09 16:46
Kevin223210-May-09 16:46 
AnswerRe: Focus of form Pin
Luc Pattyn10-May-09 16:55
sitebuilderLuc Pattyn10-May-09 16:55 
GeneralRe: Focus of form Pin
Kevin223210-May-09 17:04
Kevin223210-May-09 17:04 

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.