Click here to Skip to main content
15,894,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: Moveable Controls - Form Style Pin
Heath Stewart29-Mar-04 5:22
protectorHeath Stewart29-Mar-04 5:22 
GeneralNever Mind Pin
Tristan Rhodes29-Mar-04 6:25
Tristan Rhodes29-Mar-04 6:25 
GeneralHalf way there Pin
Tristan Rhodes29-Mar-04 6:41
Tristan Rhodes29-Mar-04 6:41 
GeneralRe: Half way there Pin
Heath Stewart29-Mar-04 8:01
protectorHeath Stewart29-Mar-04 8:01 
GeneralRe: Half way there Pin
Tristan Rhodes29-Mar-04 8:15
Tristan Rhodes29-Mar-04 8:15 
GeneralRe: Half way there Pin
Heath Stewart29-Mar-04 8:35
protectorHeath Stewart29-Mar-04 8:35 
GeneralCursor Clipping Pin
Tristan Rhodes29-Mar-04 8:38
Tristan Rhodes29-Mar-04 8:38 
GeneralRe: Cursor Clipping Pin
Heath Stewart29-Mar-04 8:44
protectorHeath Stewart29-Mar-04 8:44 
Don't bother. After I noticed that all but one function that was declared in VB already exists in the .NET FCL (like Control.PointToClient), I thought I'd look at the Cursor class and sure enough, there's a Clip property that takes a Rectangle that defines the clipping rectangle, in screen coordinates (so use Control.RectangleToScreen from your Control to get it's bounds in screen coordinates).

Ahh, the power of cheese research.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Cursor Clipping Pin
Tristan Rhodes29-Mar-04 8:57
Tristan Rhodes29-Mar-04 8:57 
GeneralRe: Cursor Clipping Pin
Heath Stewart29-Mar-04 9:13
protectorHeath Stewart29-Mar-04 9:13 
GeneralRe: Cursor Clipping Pin
Tristan Rhodes29-Mar-04 11:05
Tristan Rhodes29-Mar-04 11:05 
GeneralEvents Pin
Demian Panello29-Mar-04 4:40
Demian Panello29-Mar-04 4:40 
GeneralRe: Events Pin
Colin Angus Mackay29-Mar-04 5:11
Colin Angus Mackay29-Mar-04 5:11 
GeneralRe: Events Pin
Colin Angus Mackay29-Mar-04 5:13
Colin Angus Mackay29-Mar-04 5:13 
GeneralRe: Events Pin
Heath Stewart29-Mar-04 5:19
protectorHeath Stewart29-Mar-04 5:19 
GeneralSerializing /DeSerializing a class by itself Pin
MANJU_JOHN29-Mar-04 4:32
sussMANJU_JOHN29-Mar-04 4:32 
GeneralRe: Serializing /DeSerializing a class by itself Pin
Heath Stewart29-Mar-04 5:18
protectorHeath Stewart29-Mar-04 5:18 
GeneralCustom textbox with OnPaintBackground Pin
Stephen Birdsall29-Mar-04 3:59
Stephen Birdsall29-Mar-04 3:59 
GeneraltabPages Pin
bertcox29-Mar-04 2:50
bertcox29-Mar-04 2:50 
GeneralRe: tabPages Pin
Dave Kreskowiak29-Mar-04 4:09
mveDave Kreskowiak29-Mar-04 4:09 
GeneralRe: tabPages Pin
bertcox29-Mar-04 4:13
bertcox29-Mar-04 4:13 
GeneralRow moving Pin
basdanny29-Mar-04 1:45
basdanny29-Mar-04 1:45 
GeneralLong arithmetic Pin
Lego Bragis29-Mar-04 0:40
Lego Bragis29-Mar-04 0:40 
GeneralRe: Long arithmetic Pin
Dave Kreskowiak29-Mar-04 2:08
mveDave Kreskowiak29-Mar-04 2:08 
GeneralRe: Long arithmetic Pin
Lego Bragis29-Mar-04 7:35
Lego Bragis29-Mar-04 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.