🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7577

Re: Possible bug in Borlandc Turbo Vision 3.1

#7577
From: roger nelson;S23487
Date: Mon, 11 Jan 1993 03:40
30 lines
1711 bytes
In article <1993Jan11.005522.27171@seas.gwu.edu> mikee@seas.gwu.edu (Mike Me) writes:
>This is a posible bug under Borland C 3.` Turbo Vision.
>
>If you swithc into any graphics mode, and afterwards try to use
>a Turbo Vision type of thing, the MOUSE cursor will NOT show up. It does work,
>but the cursor is NO-WHERE to be found.
>

This is what you have to do:

   suspend(); // mouse   Tvision function
   YOUR_GRAPHICS_FUNCTION();  <- Call init_graph and closegraph in here!
   resume();  // mouse  Tvision function
   active_application->setScreenMode(0x0003);  //smCO80;
   active_application->redraw();
   heapfillfree(0);

active_application is your application object instance.

Roger

_____________________________________________________________________
      ______________
____  | ^          |    Roger Nelson          rnelson@wsuaix.csc.wsu.edu
\^^ | | ^          |    Biological Systems Engineering Department
 |^^//  ^^         |
 |  '  ^          +|<---Washington State University
 \_  ^    _________|    Pullman, WA 99164-6120
   `-----'              Work: (509)335-4714  Home: (509)332-8387
                        FAX: (509)335-2722
Technical Details
Message-ID: <1993Jan11.034045.14382@serval.net.wsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!wsuaix.csc.wsu.edu!rnelson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!wsuaix.csc.wsu.edu!rnelson
From: rnelson@wsuaix.csc.wsu.edu (roger nelson;S23487)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Possible bug in Borlandc Turbo Vision 3.1
Message-ID: <1993Jan11.034045.14382@serval.net.wsu.edu>
Date: 11 Jan 93 03:40:45 GMT
Article-I.D.: serval.1993Jan11.034045.14382
Sender: news@serval.net.wsu.edu (USENET News System)
Organization: Washington State University
Lines: 30