Re: Turning off some messages - is it possible? Is it unnecessary?
From: Yasoo (anonymous_at_discussions.microsoft.com)
Date: 05/11/04
- Next message: Carl Daniel [VC++ MVP]: "Re: Precision problem"
- Previous message: songie D: "Re: Precision problem"
- In reply to: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Next in thread: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 15:36:04 -0700
I dunno. If I set it to 10 ms it's way too slow. It takes over 6 seconds to move across the screen. I know what you are saying and I can see the math, but the results don't show that. I think I already am using double buffering. I have a memory dc that I set up and then I BitBlt parts of the memory dc to the screen dc in OnPaint. But I don't think that's the issue.
However, I did stumble across something very interesting by accident. All the logic in my code isn't in place so I can press the start button more than once and it will create a new multimedia timer each time. This calls the callback function at a higher rate and I can get the speed I need while processor meter stays practically at 0. Voila! :)
- Next message: Carl Daniel [VC++ MVP]: "Re: Precision problem"
- Previous message: songie D: "Re: Precision problem"
- In reply to: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Next in thread: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Dave: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Messages sorted by: [ date ] [ thread ]