-
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.
-
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.
-
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.
-
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.
-
you wouldn't have to set it back. It returns to normal automatically.
-
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.
-
-
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.