Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to limit maximum size of other windows?

How to limit maximum size of other windows?

Scheduled Pinned Locked Moved C#
windows-adminhelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trickster SWE
    wrote on last edited by
    #1

    I would like to create a sidebar type application that sits on the right side of the client area. This application will always be executing, and I want it to always be visible. Is there any way of controlling _other_ windows so that the won't maximise or be resized over/under that application? Optimally I would like another window to maximize to the full screen _except_ for the right X pixels where my sidebar application is residing. Always on top will fix the "always visible" parameter, but using this other windows will be hidden behind it.. Preferrably I would like to set a registry value or such setting max size, but the next best case is to do this programmatically in my app. Would really appreciate an answer! Best regards // T

    T 1 Reply Last reply
    0
    • T Trickster SWE

      I would like to create a sidebar type application that sits on the right side of the client area. This application will always be executing, and I want it to always be visible. Is there any way of controlling _other_ windows so that the won't maximise or be resized over/under that application? Optimally I would like another window to maximize to the full screen _except_ for the right X pixels where my sidebar application is residing. Always on top will fix the "always visible" parameter, but using this other windows will be hidden behind it.. Preferrably I would like to set a registry value or such setting max size, but the next best case is to do this programmatically in my app. Would really appreciate an answer! Best regards // T

      T Offline
      T Offline
      TJoe
      wrote on last edited by
      #2

      Check out http://www.codeproject.com/csharp/csdoesshell3.asp[^]

      Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com

      T 1 Reply Last reply
      0
      • T TJoe

        Check out http://www.codeproject.com/csharp/csdoesshell3.asp[^]

        Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com

        T Offline
        T Offline
        Trickster SWE
        wrote on last edited by
        #3

        That hit the spot! Thanks for the help! Really appreciate it! // T

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups