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. Restrict window space for child process

Restrict window space for child process

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • P Offline
    P Offline
    paulb
    wrote on last edited by
    #1

    Is it possible to restrict the screen area that a child process can occupy? For example, say I want a child process window to only occupy the area between 0,100 to 800,600 the window can not go outside of these bounds if the user tries to maximise or resize or move the window.

    RaviBeeR 1 Reply Last reply
    0
    • P paulb

      Is it possible to restrict the screen area that a child process can occupy? For example, say I want a child process window to only occupy the area between 0,100 to 800,600 the window can not go outside of these bounds if the user tries to maximise or resize or move the window.

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      Just override OnMove() and OnSize(). /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

      P 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        Just override OnMove() and OnSize(). /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

        P Offline
        P Offline
        paulb
        wrote on last edited by
        #3

        Ravi Bhavnani wrote: Just override OnMove() and OnSize(). that would require having access to the source code of the app I want to launch, which i don't. thanks anyway

        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