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 / C++ / MFC
  4. Limiting dekstop(maximized windows') size

Limiting dekstop(maximized windows') size

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
3 Posts 3 Posters 1 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.
  • C Offline
    C Offline
    clayman87
    wrote on last edited by
    #1

    Hi! The idea came from ICQ, where if you dock it to the sides it limits the size of the desktop the same way as i.e. the tray does. So I'd like to know how to restrict the desktop, and therefore the size of the maximized windows', is there even any way, a func, or something... Thx in forward

    V M 2 Replies Last reply
    0
    • C clayman87

      Hi! The idea came from ICQ, where if you dock it to the sides it limits the size of the desktop the same way as i.e. the tray does. So I'd like to know how to restrict the desktop, and therefore the size of the maximized windows', is there even any way, a func, or something... Thx in forward

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      One possible solution is WM_GETMINMAXINFO message in MFC. Kuphryn

      1 Reply Last reply
      0
      • C clayman87

        Hi! The idea came from ICQ, where if you dock it to the sides it limits the size of the desktop the same way as i.e. the tray does. So I'd like to know how to restrict the desktop, and therefore the size of the maximized windows', is there even any way, a func, or something... Thx in forward

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Read up on application bars (app bars) in MSDN, those are the windows like the taskbar that dock to the sides of the screen. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.

        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