vb Allways on top.

  • Thread starter Thread starter Daniel Passwater via DotNetMonster.com
  • Start date Start date
D

Daniel Passwater via DotNetMonster.com

I've never written anything in vb before, but I've been asked to update some vb code. The requirements are that a banner show at all times. The banner works well with most screen savers. However, the openGL, or directDraw screen savers seem to override it. I set the refresh to .001 second, but this requires too much processor. Does anyone have a suggestion?

Suggestions and/or insights are greatly appreciated.
Daniel
 
Daniel Passwater via DotNetMonster.com said:
I've never written anything in vb before, but I've been asked to update
some vb code. The requirements are that a banner show at all times. The
banner works well with most screen savers. However, the openGL, or
directDraw screen savers seem to override it. I set the refresh to .001
second, but this requires too much processor.

OpenGL and DirectDraw draw into the graphics memory directly instead of
drawing onto a device context. What you can try to do is using
DirectX/DirectDraw yourself to draw the banner.
 
I realize that I wasn't very clear. When I say refresh, I actually mean that I use a timer to reassert the form. I set the timer to 1. This is as low as it will go, and it still flickers... not to mention the drag on the processor.
 
That's kind of the direction I've that headed, but the learning curve seems pretty drastic. Can I incorporate DirectDraw into the vb? Could you suggest a good tutorial? I'm pretty green at all of this.

Thanks for the help.
 
Daniel,

I have no answer, however you made me curious, for what specimen are you
making this, as far as I know can a human eye not see that refresh rate you
are using. I thought that most home made movies use a refresh rate of 25
pictures a second.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top