Hiding and moving text cursor! 
Author Message
 Hiding and moving text cursor!

Quote:

> Hello!
>         Where in memory can I find information about text cursor?
> I meen about its color, position etc.
> Thanks.

What do you mean really? Are you talking about the underline style cursor
or the mouse pointer cursor?

TK.



Sun, 08 Apr 2001 03:00:00 GMT  
 Hiding and moving text cursor!

Quote:
>Hello!
> Where in memory can I find information about text cursor?

In the BIOS Data area you have what you are looking for:

0040:0050h    16 Bytes    Cursor position (col, row) for all eight video
pages
0040:0060h    word            Cursor Parameters, high byte - startline, low
byte endline
0040:0062h    byte            Current video page number

Quote:
>I meen about its color, position etc.

The cursor itself dont have any color. But if you write a string to the
screen by using dos int 21h.. it will place the color attribute before the
byte:

07-31
Color-Char

07 Is the DOS default color gray on black..

the first byte 07 is
07= 00000111 = -Black background(no background color), (Red+Green+Blue)=
gray foreground. To get white you should set the High intensity foreground

Bits 7  6  5  4  3  2  1 0
        1   .   .   .   .   .   .   .    - blinking/intensity of background
         .  1   .   .   .   .   .   .    - Red background component
         .   .  1   .   .   .   .   .    - Green background component
         .   .   .  1   .   .   .   .    - Blue background component
         .   .   .   .   1  .   .   .    -High Intensity of foreground
         .   .   .   .   .   1  .   .    - Red foreground component
         .   .   .   .   .   .   1  .    - Green foreground component
         .   .   .   .   .   .   .   1   - Blue foreground component

Hope this helped




Sun, 08 Apr 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Q: 80x50 text-mode and hiding the cursor

2. Moving text cursor...

3. Command to move cursor to end of text widget

4. Moving cursor position inside a text widget.

5. moving cursor in text widget

6. move the name of cursor (not the cursor itself) on the XY graph

7. Question: How to hide text in text-widgets

8. Hiding tagged text in text widgets?

9. Hide the cursor

10. how to hide mouse cursor for labview linux

11. Hiding cursor in console (HLA)

12. Hiding the cursor

 

 
Powered by phpBB® Forum Software