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. refresh event

refresh event

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 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.
  • H Offline
    H Offline
    htv22
    wrote on last edited by
    #1

    how do you do a refresh event using MFC? thanks

    K 1 Reply Last reply
    0
    • H htv22

      how do you do a refresh event using MFC? thanks

      K Offline
      K Offline
      khan
      wrote on last edited by
      #2

      Refresh what? If it is the window or dialog, then: RedrawWindow(); this is this.

      H 1 Reply Last reply
      0
      • K khan

        Refresh what? If it is the window or dialog, then: RedrawWindow(); this is this.

        H Offline
        H Offline
        htv22
        wrote on last edited by
        #3

        for example i want to refresh the window containing an enhanced image

        K 1 Reply Last reply
        0
        • H htv22

          for example i want to refresh the window containing an enhanced image

          K Offline
          K Offline
          khan
          wrote on last edited by
          #4

          If the window you want to refresh was created by you, then you can take the handle of that window, and refresh it using RedrawWindow(); Like: m_pEnhancedWindow->RedrawWindow();//where m_pEnhancedWindow is the pointer to that window. I don't know how you are using the window. I mean if you have its handle, pointer etc. If this does not solve the problem then a little code would help. this is this.

          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