Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

overwriting the background - tough to explain

Status
Not open for further replies.

qbasicking

Programmer
Aug 19, 2001
628
US
The program i am writing is huge and full of graphics. But whenever i use a pull-down menu or a pop-up window it overwrites the background and the program has to re-build then entire background (including any windows that were behind it). Is it possible to take a small part of the screen (or all of it) and store it in the memory, that way when i click exit or OK it looks the same as it did before the window was called upon. I know that MS-Windows does this, but how?
I also notice that my mouse doesn't overwrite anything - i don't know how i did that.
 
Research the BSAVE and BLOAD commands. You will find an example in faq314-136. If you have QB45 of higher, you might also look at the method in faq314-137 (it would require much more work).
VCA.gif
 
Alt255 - i couldn't get BSAVE and BLOAD to work for me but thanx to Toshi i got what i want. The reason I had no idea how to do this is my qbasic manual doesn't have ANYTHING on BSAVE/BLOAD or GET/PUT.
Toshi - ever think of joining tek-tips? It's free.

ps: i wanted to post this thread as helpful, but i couldn't figure out how. How do i do that?
 
Unfortunately, anyone indicated as a VISITOR cannot receive such a notice. They must be a member in order to get that link.

--MiggyD It's better to have two heads to solve a problem from different angles than to have tunnel vision to a dead end.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top