|
-
Mar 13th, 2001, 10:33 AM
#1
Thread Starter
Lively Member
I have a borderless form that can be moved and resized like a regular bordered window (using SnedMessage), but I cannot get the system to display the resize cursor when over the PictureBoxes I use for borders without setting and resetting them myself. I've tried using SendMessage with a wMsg of WM_NCMOUSEMOVE, but can't get it to work.
-
Mar 14th, 2001, 03:03 AM
#2
Have you tried just setting the MousePointer property of the picture boxes to the mouse pointer you want? That is what it is there for.
-
Mar 15th, 2001, 07:31 AM
#3
Thread Starter
Lively Member
I could do that, but I was hoping there was a way to use SendMessage API so I wouldn't have to worry about resetting the MousePointer when it wasn't over my borders.
-
Mar 15th, 2001, 07:34 AM
#4
Thread Starter
Lively Member
I also have it so that if you are within 10 pixels of the top or bottom, it will resize it accordingly, ie, if you are within 10 pixels from the top on the left border, it will resize it TopLeft, within 10 pixels from the bottom of the left border, it will resize it BottomLeft, etc.
-
Mar 15th, 2001, 08:07 PM
#5
you wouldn't have to set it back. It returns to normal automatically.
-
Mar 16th, 2001, 08:36 AM
#6
Thread Starter
Lively Member
Yes, but I was hoping there was a way I could display the TopLeft, BottomLeft, etc resizae cursors also without just having Left, Right, Top and Bottom.
-
Mar 16th, 2001, 01:31 PM
#7
-
Mar 19th, 2001, 10:44 AM
#8
Thread Starter
Lively Member
Lord Orwell
It's not exactly what I was hoping to find, but it does work just fine. I hate it when I overlook the easy answer.
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
|