home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11970 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.6 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!wsuaix.csc.wsu.edu!rnelson
  2. From: rnelson@wsuaix.csc.wsu.edu (roger nelson;S23487)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Possible bug in Borlandc Turbo Vision 3.1
  5. Message-ID: <1993Jan11.034045.14382@serval.net.wsu.edu>
  6. Date: 11 Jan 93 03:40:45 GMT
  7. Article-I.D.: serval.1993Jan11.034045.14382
  8. Sender: news@serval.net.wsu.edu (USENET News System)
  9. Organization: Washington State University
  10. Lines: 30
  11.  
  12. In article <1993Jan11.005522.27171@seas.gwu.edu> mikee@seas.gwu.edu (Mike Me) writes:
  13. >This is a posible bug under Borland C 3.` Turbo Vision.
  14. >
  15. >If you swithc into any graphics mode, and afterwards try to use
  16. >a Turbo Vision type of thing, the MOUSE cursor will NOT show up. It does work,
  17. >but the cursor is NO-WHERE to be found.
  18. >
  19.  
  20. This is what you have to do:
  21.  
  22.    suspend(); // mouse   Tvision function
  23.    YOUR_GRAPHICS_FUNCTION();  <- Call init_graph and closegraph in here!
  24.    resume();  // mouse  Tvision function
  25.    active_application->setScreenMode(0x0003);  //smCO80;
  26.    active_application->redraw();
  27.    heapfillfree(0);
  28.  
  29. active_application is your application object instance.
  30.  
  31. Roger
  32.  
  33. _____________________________________________________________________
  34.       ______________
  35. ____  | ^          |    Roger Nelson          rnelson@wsuaix.csc.wsu.edu
  36. \^^ | | ^          |    Biological Systems Engineering Department
  37.  |^^//  ^^         |
  38.  |  '  ^          +|<---Washington State University
  39.  \_  ^    _________|    Pullman, WA 99164-6120
  40.    `-----'              Work: (509)335-4714  Home: (509)332-8387
  41.                         FAX: (509)335-2722
  42.