Results 1 to 3 of 3

Thread: [RESOLVED] Snap to side of screen, resizing maximized windows

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    Resolved [RESOLVED] Snap to side of screen, resizing maximized windows

    Hi there

    Long time since I was active on this forum, but I recently picked up VB.NET again. I'm working with VS 2010 Express now, and I want to create a little app that resides on the side of my screen (about 40px wide), to collect data.

    I've seen this program, Trillian, 'docking' to the right side of my screen, thereby making the maximized size of all windows just as much as the space left of the application window. In other words, even if I maximize other programs, the Trillian application stays visible at all times, on the right side of my screen.

    Now I was wondering, is there any similar effect possible with VB.NET?

    Thanks in advance, this would help me a huge lot.
    ITsME

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,413

    Re: Snap to side of screen, resizing maximized windows

    you can use the SHAppBarMessage API function to do that.
    here's an example project:
    Attached Files Attached Files

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    22

    Re: Snap to side of screen, resizing maximized windows

    Thank you very much, it's exactly what I was looking for

Tags for this Thread

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