🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
1 messages
1 total messages Started by roger nelson;S23487 Mon, 11 Jan 1993 03:40
Re: Possible bug in Borlandc Turbo Vision 3.1
#7577
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads