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. I do not repaint window,when resizing.

I do not repaint window,when resizing.

Scheduled Pinned Locked Moved C / C++ / MFC
design
4 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.
  • K Offline
    K Offline
    keeploading
    wrote on last edited by
    #1

    I design a class inherit CControlBar, but when I resizing it, it's size is modified continuous. I hope that it will not set size and repaint until the mouse is released.

    L T 2 Replies Last reply
    0
    • K keeploading

      I design a class inherit CControlBar, but when I resizing it, it's size is modified continuous. I hope that it will not set size and repaint until the mouse is released.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It depends on Windows settings. In Windows 2000: Display Properties - Effects - Show window contents while dragging.

      K 1 Reply Last reply
      0
      • L Lost User

        It depends on Windows settings. In Windows 2000: Display Properties - Effects - Show window contents while dragging.

        K Offline
        K Offline
        keeploading
        wrote on last edited by
        #3

        Ok, I want to capture the mouse's release message, when it finished dragging. In fact, I can capture the WM_NCLBUTTONDOWN, but I can't get the WM_NCLBUTTONUP, why?Thanks a lots.

        1 Reply Last reply
        0
        • K keeploading

          I design a class inherit CControlBar, but when I resizing it, it's size is modified continuous. I hope that it will not set size and repaint until the mouse is released.

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

          onmoving() { invalidaterect(NULL); } I am the mighty keeper of the book on knowledge . Contact me to get your copy .

          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