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. window controls are not getting resized while dragging the window

window controls are not getting resized while dragging the window

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

    I have done my code to resize the controls of window when we drag the window..its working fine in normal scenario... if we un check the option show window contents while dragging in performance settings(MyComputer->properties->advance->performance->Settings) of windows. my window controls are not getting resized any method to over come this....thanks in advance

    C D 2 Replies Last reply
    0
    • A arun_pk

      I have done my code to resize the controls of window when we drag the window..its working fine in normal scenario... if we un check the option show window contents while dragging in performance settings(MyComputer->properties->advance->performance->Settings) of windows. my window controls are not getting resized any method to over come this....thanks in advance

      C Offline
      C Offline
      Cool_Dev
      wrote on last edited by
      #2

      where did you place the code to resize the controls? If its is in OnSizing(), try by moving it to OnSize(). Check ::Iswindow() on any of the controls before resizing them, since OnSize will be called once before the child controls are created.

      1 Reply Last reply
      0
      • A arun_pk

        I have done my code to resize the controls of window when we drag the window..its working fine in normal scenario... if we un check the option show window contents while dragging in performance settings(MyComputer->properties->advance->performance->Settings) of windows. my window controls are not getting resized any method to over come this....thanks in advance

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        See if the Extras section of this article helps.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Man who follows car will be exhausted." - Confucius

        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