Click here to Skip to main content
16,005,149 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with image button [modified] Pin
J4amieC4-Jul-07 1:50
J4amieC4-Jul-07 1:50 
Questionhow to get time to first byte. Pin
SakthiSurya3-Jul-07 23:26
SakthiSurya3-Jul-07 23:26 
QuestionProblem with image button Pin
vamsimohan213-Jul-07 23:24
vamsimohan213-Jul-07 23:24 
AnswerRe: Problem with image button Pin
J4amieC3-Jul-07 23:36
J4amieC3-Jul-07 23:36 
AnswerRe: Problem with image button Pin
Michael Sync3-Jul-07 23:43
Michael Sync3-Jul-07 23:43 
GeneralRe: Problem with image button Pin
vamsimohan213-Jul-07 23:58
vamsimohan213-Jul-07 23:58 
GeneralRe: Problem with image button Pin
J4amieC4-Jul-07 1:51
J4amieC4-Jul-07 1:51 
QuestionAnimation timing Pin
Jon Hulatt3-Jul-07 23:00
Jon Hulatt3-Jul-07 23:00 
Hi All,

i'm trying to implement animation in an app. The frame rate of the animation needs to be variable. To implement this, i have a thread which sleeps for 1/fps seconds, and when it wakes it invalidates the window. Then, the onpaint handler draws the next frame.

Whilst this approach works ok at low frame rates, when things speed up, the animation gets choppy (due to the way in which the message queue is processed).

Is there a better approach? I want to be able to draw at reasonably precise times. Would DirectDraw help? i've never looked at directx, but would be prepared to if it offered a solution to my problem.

Thanks

slip

using System.Beer;

AnswerRe: Animation timing Pin
Luc Pattyn4-Jul-07 0:56
sitebuilderLuc Pattyn4-Jul-07 0:56 
GeneralRe: Animation timing Pin
Jon Hulatt4-Jul-07 1:18
Jon Hulatt4-Jul-07 1:18 
GeneralRe: Animation timing Pin
Luc Pattyn4-Jul-07 1:26
sitebuilderLuc Pattyn4-Jul-07 1:26 
AnswerRe: Animation timing [modified] Pin
Jason Morley4-Jul-07 0:57
Jason Morley4-Jul-07 0:57 
AnswerRe: Animation timing [modified] Pin
gumi_r@msn.com4-Jul-07 22:27
gumi_r@msn.com4-Jul-07 22:27 
QuestionHelp me about "POST" method in WebRequest! Pin
liubin_aluzi3-Jul-07 22:58
liubin_aluzi3-Jul-07 22:58 
Questiontx text control Pin
WhiteGirl233-Jul-07 22:39
WhiteGirl233-Jul-07 22:39 
AnswerRe: tx text control Pin
Simon P Stevens3-Jul-07 23:00
Simon P Stevens3-Jul-07 23:00 
AnswerRe: tx text control Pin
Christian Graus3-Jul-07 23:11
protectorChristian Graus3-Jul-07 23:11 
GeneralRe: tx text control Pin
darkcalin3-Jul-07 23:29
darkcalin3-Jul-07 23:29 
GeneralRe: tx text control Pin
J4amieC3-Jul-07 23:34
J4amieC3-Jul-07 23:34 
Jokemultiple personality??? Pin
Martin#3-Jul-07 23:44
Martin#3-Jul-07 23:44 
QuestionProblem with using a COM component into shared Addin Pin
Banks K3-Jul-07 22:15
Banks K3-Jul-07 22:15 
QuestionInfragistics control Pin
Praveen0293-Jul-07 22:03
Praveen0293-Jul-07 22:03 
AnswerRe: Infragistics control Pin
Colin Angus Mackay3-Jul-07 22:35
Colin Angus Mackay3-Jul-07 22:35 
AnswerRe: Infragistics control Pin
Stu Richardson3-Jul-07 22:54
Stu Richardson3-Jul-07 22:54 
Question0=48?? Pin
Manfr3d3-Jul-07 21:55
Manfr3d3-Jul-07 21:55 

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.