home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8058 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.4 KB  |  43 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!tpradeep
  3. From: tpradeep@cs.tamu.edu (Pradeep K Tapadiya)
  4. Subject: Help needed with graphics cursor
  5. Message-ID: <1992Jul24.191829.1539@tamsun.tamu.edu>
  6. Sender: news@tamsun.tamu.edu (Read News)
  7. Organization: Computer Science Department, Texas A&M University
  8. Date: Fri, 24 Jul 1992 19:18:29 GMT
  9. Lines: 32
  10.  
  11. Howdy netters,
  12.  
  13. I am trying to develop a routine to edit text in graphics mode.
  14.  
  15. Background:
  16.  
  17. MSC 7.0 
  18. Miscrosoft supplied graphics library
  19. The mode under consideration is 640*480*16 VGA mode.
  20.  
  21. As part of the routine, I need to display a cursor on the text so that
  22. the user knows which position of the text is being edited and
  23. accordingly can use keys like INSERT, DELETE, LEFT, RIGHT etc. A
  24. flashing vertical line between the characters would suffice for this
  25. purpose.
  26.  
  27. The problem is, there doesn't seem to be any cursor routine defined
  28. in the microsoft graphics library. I tried using int10h services
  29. for change cursor size and shape (01h) and set cursor position (02h).
  30. But nothing appears on screen and the return values for these services
  31. are not defined either.
  32.  
  33. Can someone suggest me where I am going wrong, or if there is an
  34. alternate solution to this problem.
  35.  
  36. Thank you for your help.
  37.  
  38. Pradeep
  39. tpradeep@cs.tamu.edu
  40.  
  41. PS: Microsoft Windows uses a flashing vertical line for editing purposes.
  42.  
  43.