Hi...I'm Zozel...I am trying to make a program and to use the cleardevice() function to clear screen...but I'm not satisfied of this function...calling it, it flashes the screen...it "blinks" my whole screen.....how could I avoid this flash?...please help!...I appreciate any answer ...:)
Zozel 0 Newbie Poster
Recommended Answers
Jump to PostUsing the old BGI functions you are pretty much out of luck... Sorry.
Are you using an old Turbo C compiler or are you using the WinBGIm package?
Jump to PostIt has nothing to do with the function. It is flashing because the DOS emulator is lagging when your code updates the screen.
Now that my brain is working, though, if you are trying to do animations stay away from cleardevice().
There are two little functions to set …
Jump to PostIt has been a long time since I played with BGI graphics, and I did it in Turbo Pascal. If you want I'll whip something up to demonstrate page flipping... This is a standard technique, often called "double buffering".
Jump to PostI don't know where you read that, but they're wrong. Multiple display pages is a hardware feature, so you can use it no matter what programming language you use.
Give me a little bit to provide your example..
Jump to PostOK, I told you I'd get you an example. I don't want to spend a lot of time finding the libraries to do it and coding one, but I do have an old program I wrote many many moons ago, when I was still new to programming. It is in …
All 17 Replies
Duoas 1,025 Postaholic Featured Poster
Zozel 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
Zozel 0 Newbie Poster
Prabakar 77 Posting Whiz
Zozel 0 Newbie Poster
Prabakar 77 Posting Whiz
Zozel 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
Zozel 0 Newbie Poster
Zozel 0 Newbie Poster
Zozel 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
Prabakar 77 Posting Whiz
Duoas 1,025 Postaholic Featured Poster
Zozel 0 Newbie Poster
Zozel 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.