void main(){union REGS k,o;//show mouse pointerk.x.ax=1;int86(0x33,&k,&o);//x coordinate restrictionk.x.ax=7;k.x.cx=20;k.x.dx=300;int86(0x33,&k,&o);//y coordinate restrictionk.x.ax=8;k.x.cx=50;k.x.dx=250;int86(0x33,&k,&o);getch();}
No comments:
Post a Comment