0

Hello all :

I 've created a simple form , when it's started a clip cursor called, but when I pressing by keyboard(Alt+Tab) for (moving between opened windows) , this clipping is canceled, Is there any idea to prevent this or stop it??
Thanks in advance.....

2
Contributors
8
Replies
9
Views
9 Years
Discussion Span
Last Post by aminit
0

Edit the form code generated and add this line
this.Cursor = new System.Windows.Forms.Cursor(CursorPath);
It works with me well.

0

Hello
Thanks a lot for your answer, but is (cusrsorpath) a handle or what ?? can you please explain more

Thanks in advance.....

0

Hello :

Thanks again for your answer , I was tried this.Cursor = new System.Windows.Forms.Cursor(Cursor1.cur);
an error occured(this name is not exist) and I created a cursor file, but I tried
Cursor.Clip = new Rectangle(x, y, w, h);
it was work but if I press (alt+tab) or start in the keyboard this clip is cancel , how can I prevent this until the form is closed???
Thanks in advance

0

Hello :
I was tried it too, any way thanks for your support and best wishes.....

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.