Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hiding Cursor In Text Mode

Posted on 1998-08-06
3
Medium Priority
?
275 Views
Last Modified: 2010-04-16
I'm doing a program which uses only text/ASCII graphics and would like to know how to hide the blinking cursor.  I'm only using the CRT unit as well.
0
Comment
Question by:Corey080698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
FuzzyLogic earned 400 total points
ID: 1217270
Here some assembler code for what you want.

Fuzzy
0
 
LVL 1

Expert Comment

by:FuzzyLogic
ID: 1217271
program Cursor;

var
  OldCursor:word;

begin;

  readln;

  asm
  { Save the old Cursor type }
    mov ah,03h
    mov bh,01h  { Screen page }
    int 10h
    mov word ptr OldCursor,cx

  { Set new cursor type }
    mov ah,01h
    mov cx,0FFFFh
    int 10h
  end;

  readln;

  asm
  { Restore the old Cursor type }
    mov ah,01h
    mov cx,OldCursor
    int 10h
  end;

  readln;

end.

0
 

Author Comment

by:Corey080698
ID: 1217272
Adjusted points to 100
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question