PDA

View Full Version : Cursor 2



sp00k
10-30-2001, 01:52 AM
How do you hide the cursor in dos using C/CPP also a function prototype?

Salem
10-30-2001, 02:39 AM
Try setcursortype in conio.h

VirtualAce
10-31-2001, 03:25 PM
What cursor? Mouse, text?

For mouse:



union REGS regs;
regs.ax=0x02
int86(0x33, & regs, & regs);


No spaces in int86 - board still messing up my ampersands.

VirtualAce
10-31-2001, 03:26 PM
regs.x.ax=0x02;

I really should preview these short posts......

Hillbillie
10-31-2001, 04:08 PM
_setcursortype(_NOCURSOR);

It's defined in conio.h.