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. help me

help me

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

    i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions. Thanks in Advance

    ||SnAkeBed||

    H T 2 Replies Last reply
    0
    • S SnaKeBeD

      i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions. Thanks in Advance

      ||SnAkeBed||

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      You can use of MoceWindow on the WM_SIZE.

      N 1 Reply Last reply
      0
      • H Hamid Taebi

        You can use of MoceWindow on the WM_SIZE.

        N Offline
        N Offline
        Nelek
        wrote on last edited by
        #3

        Actually is MoveWindow :P (I know, typing error, but better to be sure the people gets the correct answer :rolleyes:)

        Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

        H 1 Reply Last reply
        0
        • S SnaKeBeD

          i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions. Thanks in Advance

          ||SnAkeBed||

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

          SnaKeBeD wrote:

          i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions.

          SetWindowPos is another api, apart from MoveWindow as quoted by Mr. Hamid (nice one)

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          • N Nelek

            Actually is MoveWindow :P (I know, typing error, but better to be sure the people gets the correct answer :rolleyes:)

            Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            He needs to an if before using of it on the wm_size ;).

            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