Results 1 to 8 of 8

Thread: Borderless Form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Wisconsin
    Posts
    64

    Question

    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.

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    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.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Wisconsin
    Posts
    64
    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Wisconsin
    Posts
    64
    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.

  5. #5
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    you wouldn't have to set it back. It returns to normal automatically.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Wisconsin
    Posts
    64
    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.

  7. #7
    Guest
    See this link

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Wisconsin
    Posts
    64
    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
  •  



Click Here to Expand Forum to Full Width