|
-
Mar 9th, 2004, 09:34 AM
#1
Clip mousie
Once I've set Cursor.Clip to a custom rectangle, how can I return it to normal. In VB I'd use
Cursor.Clip = nothing
But that don't work in C#.
How's it done?
I don't live here any more.
-
Mar 9th, 2004, 10:40 AM
#2
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Mar 9th, 2004, 03:00 PM
#3
That's the first thing I tried but there's a compiler error about Rectangles being a value type and so can't be null. 
I thought about storing the initial clipping region when the form loads and then using that as a fall back whenever I need to cancel my own region.
But I thought this might interfere with other programs' clip regions and I'm not keen. Maybe I'm wrong, I'm not too sure of the ground on this one.
:???:
I don't live here any more.
-
Mar 9th, 2004, 10:08 PM
#4
Sleep mode
This seem to be your best bet . I don't see any problems that might happen though .
-
Mar 10th, 2004, 06:08 AM
#5
I've coded it and it seems to work fine. I've stuck some code in the form deactivate event just to make sure it doesn't spill over to any other programs.
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|