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. Regarding Immovable window

Regarding Immovable window

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

    Hai frens, I need to create a window in VC++ which should not allow user to move it. Could any one guide me plz.

    R 1 Reply Last reply
    0
    • B balajeedurai

      Hai frens, I need to create a window in VC++ which should not allow user to move it. Could any one guide me plz.

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      Override WM_MOVING (and/or WM_SIZING) to prevent the user from moving/resizing the window. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

      M 1 Reply Last reply
      0
      • R Ravi Bhavnani

        Override WM_MOVING (and/or WM_SIZING) to prevent the user from moving/resizing the window. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

        M Offline
        M Offline
        mirex
        wrote on last edited by
        #3

        You could also remove caption of the window if possible ... if window has no caption then users do not have anything to move it.

        T A 2 Replies Last reply
        0
        • M mirex

          You could also remove caption of the window if possible ... if window has no caption then users do not have anything to move it.

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          false the title bar can be empty, while been there anyway....


          TOXCCT >>> GEII power

          1 Reply Last reply
          0
          • M mirex

            You could also remove caption of the window if possible ... if window has no caption then users do not have anything to move it.

            A Offline
            A Offline
            Antony M Kancidrowski
            wrote on last edited by
            #5

            IIRC you can still use the keyboard to move such windows. Ant. I'm hard, yet soft.
            I'm coloured, yet clear.
            I'm fruity and sweet.
            I'm jelly, what am I? Muse on it further, I shall return!
            - David Williams (Little Britain)

            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