🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help needed with graphics cursor

#468
From: Pradeep K Tapadiya
Date: Fri, 24 Jul 1992 19:18
31 lines
1432 bytes
Howdy netters,

I am trying to develop a routine to edit text in graphics mode.

Background:

MSC 7.0 
Miscrosoft supplied graphics library
The mode under consideration is 640*480*16 VGA mode.

As part of the routine, I need to display a cursor on the text so that
the user knows which position of the text is being edited and
accordingly can use keys like INSERT, DELETE, LEFT, RIGHT etc. A
flashing vertical line between the characters would suffice for this
purpose.

The problem is, there doesn't seem to be any cursor routine defined
in the microsoft graphics library. I tried using int10h services
for change cursor size and shape (01h) and set cursor position (02h).
But nothing appears on screen and the return values for these services
are not defined either.

Can someone suggest me where I am going wrong, or if there is an
alternate solution to this problem.

Thank you for your help.

Pradeep
tpradeep@cs.tamu.edu

PS: Microsoft Windows uses a flashing vertical line for editing purposes.
Technical Details
Message-ID: <1992Jul24.191829.1539@tamsun.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!tpradeep

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!tpradeep
From: tpradeep@cs.tamu.edu (Pradeep K Tapadiya)
Subject: Help needed with graphics cursor
Message-ID: <1992Jul24.191829.1539@tamsun.tamu.edu>
Sender: news@tamsun.tamu.edu (Read News)
Organization: Computer Science Department, Texas A&M University
Date: Fri, 24 Jul 1992 19:18:29 GMT
Lines: 32